Skip to content

Commit

Permalink
chore: axe .go-version file (#1212)
Browse files Browse the repository at this point in the history
`goenv` (which it the primary tool that `.go-version` is intended for)
does not have a concept of a `stable` version so while this technically
works with `actions/setup-go`, it does so at the expensive of all of us
that use `goenv` for managing our go initial versions.
  • Loading branch information
G-Rath authored Aug 29, 2024
1 parent 66ec99b commit d7a0cf9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: .go-version
go-version: stable
check-latest: true
- name: Run lint action
uses: ./.github/workflows/lint-action
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: .go-version
go-version: stable
check-latest: true
- name: Run test action
uses: ./.github/workflows/test-action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: .go-version
go-version: stable
check-latest: true
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prerelease-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: .go-version
go-version: stable
check-latest: true
- name: Run lint action
uses: ./.github/workflows/lint-action
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: .go-version
go-version: stable
check-latest: true
- name: Run test action
uses: ./.github/workflows/test-action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: .go-version
go-version: stable
cache: true

- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/coverage.html
*.tar
*.pprof
.go-version
1 change: 0 additions & 1 deletion .go-version

This file was deleted.

0 comments on commit d7a0cf9

Please sign in to comment.