Skip to content

Commit

Permalink
fix: pin go version
Browse files Browse the repository at this point in the history
instead of using "stable" we want to pin the minor version to avoid
sudden breaking updates as we experienced with 1.23.
  • Loading branch information
ctrox committed Aug 15, 2024
1 parent adfeb91 commit accf581
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
go-version: '1.22'
- run: git config --global url.https://[email protected]/.insteadOf https://github.com/
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: setup go
uses: actions/setup-go@v5
with:
go-version: stable
go-version: '1.22'
- run: git config --global url.https://[email protected]/.insteadOf https://github.com/
- name: Define goreleaser flags
run: test -n "$(git tag --points-at HEAD)" || echo "GORELEASER_FLAGS=--snapshot" >> $GITHUB_ENV
Expand Down

0 comments on commit accf581

Please sign in to comment.