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 53ab997 commit f8de641
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.20
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 @@ -27,10 +30,3 @@ 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 f8de641

Please sign in to comment.