Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
zostay committed Jun 14, 2024
1 parent c9c5fe8 commit 53ab997
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
with:
go-version: 1.20
cache: false
- uses: golangci/golangci-lint-action@v6
with:
version: v1.59
- run: go test -v ./...
- run: |
coveredFiles=$(go list ./... | grep -v 'github.com/zostay/today/\(cmd\|tools/gen/verses\)')
Expand All @@ -30,3 +27,10 @@ jobs:
echo "Coverage is less than $REQUIRED_COVERAGE %"
exit 1
fi
- uses: actions/setup-go@v5
with:
go-version: 1.21
cache: false
- uses: golangci/golangci-lint-action@v6
with:
version: v1.59

0 comments on commit 53ab997

Please sign in to comment.