Skip to content

Commit

Permalink
GitHub Actions: Add go-mod
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed Sep 19, 2024
1 parent 3b1881f commit 237ab5c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ jobs:
version: '~> v2'
args: check

go-mod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: go mod tidy
- run: git diff --exit-code
- run: go mod download
- run: go mod verify

test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 237ab5c

Please sign in to comment.