Skip to content

Commit

Permalink
CI: Upgrade Go CI, check go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Dec 23, 2024
1 parent 7aaa449 commit d4a8d23
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true
go-version: stable
- name: Get dependencies
run: go mod download
- name: Check go.mod
run: go mod tidy -diff
- name: Test
run: go test -race -v -coverprofile=profile.cov ./...
- uses: shogo82148/actions-goveralls@v1
Expand Down

0 comments on commit d4a8d23

Please sign in to comment.