Skip to content

Commit

Permalink
Merge pull request #1 from ymarcus93/fix/go-test
Browse files Browse the repository at this point in the history
Use go version specified in go.mod
  • Loading branch information
EthanHeilman authored May 6, 2024
2 parents 363dd5e + cd2f299 commit 81d2115
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.20.8
go-version-file: 'go.mod'

- name: Check formatting
run: |
Expand All @@ -34,9 +34,9 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.20.8
go-version-file: 'go.mod'

- name: Vet
run: go vet ./...
Expand All @@ -52,9 +52,9 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.20.8
go-version-file: 'go.mod'

- name: Test
run: go test ./...
Expand Down

0 comments on commit 81d2115

Please sign in to comment.