Skip to content

Commit

Permalink
Update to go-version-file
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Aug 3, 2022
1 parent 8100518 commit d053ee6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.x'
go-version-file: 'go.mod'

- uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
go_version: "1.x"
go-version-file: 'go.mod'
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: '1.x'
go-version-file: 'go.mod'

- uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: "1.x"
go-version-file: 'go.mod'

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.x'
go-version-file: 'go.mod'

- uses: actions/cache@v3
with:
Expand Down

0 comments on commit d053ee6

Please sign in to comment.