Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: gha setup go cache issue [#1319] #1320

Merged
merged 3 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: gha job to derive go version from go.mod
  • Loading branch information
tinaboyce committed Jul 21, 2024
commit 22b4d5bc0258f56a6fb70b0f824b201408027eb0
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version-file: "go.mod"

- name: Test
run: |
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version-file: "go.mod"

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version-file: "go.mod"

- name: Install dependency required for linux builds
if: matrix.os == 'ubuntu-20.04'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version-file: "go.mod"

- name: Install dependency required for linux builds
if: matrix.os == 'ubuntu-20.04'
Expand Down
Loading