Skip to content

Commit

Permalink
ci: fix permissions and update setup-go to v5
Browse files Browse the repository at this point in the history
7469030df3602625a3e2df03285ecc7badf00aee
  • Loading branch information
kabachook committed Feb 22, 2024
1 parent 7cefd2d commit 7e08cb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: npm i semver@^7.6

- name: Setup Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: go.mod

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ jobs:
env:
CGO_ENABLED: 0
permissions:
contents: read
packages: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-deep: 0
fetch-depth: 0

- name: Setup Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: go.mod

Expand Down

0 comments on commit 7e08cb6

Please sign in to comment.