Skip to content

Commit

Permalink
ci: set up Go based on version specified in go.mod (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Jul 1, 2024
1 parent c6b54a7 commit 744dc8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Check Out
uses: actions/checkout@v4.1.7

- name: Setup Go
- name: Set Up Go
uses: actions/setup-go@v5.0.1
with:
go-version: stable
go-version-file: go.mod

- name: Check Dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Check Out
uses: actions/checkout@v4.1.7

- name: Setup Go
- name: Set Up Go
uses: actions/setup-go@v5.0.1
with:
go-version: stable
go-version-file: go.mod

- name: Run Tests
run: go test -v ./... -coverprofile=.cover.out -covermode=atomic -coverpkg=./...
Expand Down

0 comments on commit 744dc8d

Please sign in to comment.