Skip to content

Commit

Permalink
chore: update actions:setup go to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
nohehf committed Sep 25, 2024
1 parent a21ca9e commit 9d5162c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ jobs:
name: Test Builds
strategy:
matrix:
go-version: [1.22.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
go-version: "1.22"
cache: false

- name: Check out code
uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.22.x
go-version: "1.22"
cache: false

- uses: goreleaser/goreleaser-action@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
runs-on: ubuntu-latest

steps:

- uses: actions/setup-go@v4
with:
go-version: "1.22"
cache: false

- name: Checkout code
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 9d5162c

Please sign in to comment.