Skip to content

Commit

Permalink
ci get go version from go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbloss committed Sep 15, 2023
1 parent 61e4018 commit 07e0505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version-file: 'src/go.mod'
- name: Cache Go modules
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version-file: 'src/go.mod'
- name: Run Tests
run: |-
cd src/
Expand Down

0 comments on commit 07e0505

Please sign in to comment.