Skip to content

Commit

Permalink
bump go version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryQ committed Mar 19, 2024
1 parent e96357d commit 5416891
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.21

- name: Checkout code
uses: actions/checkout@v2

- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: generate README.md
run: make README.md

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version-file: go.mod

-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
SPANNER_PROJECT_ID: proj
SPANNER_EMULATOR_HOST: localhost:9010
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Test
run: go test ./...

0 comments on commit 5416891

Please sign in to comment.