Skip to content

Commit

Permalink
ci: upgrade golang-ci lint and use cached action
Browse files Browse the repository at this point in the history
  • Loading branch information
thor committed Oct 3, 2024
1 parent e1c5f6e commit db6b7a2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ jobs:
check:
name: Check
runs-on: ubuntu-latest
# Execute the checks inside the container instead the VM.
container: golangci/golangci-lint:v1.50.0-alpine
# TODO: Consider moving this to a separate job to prevent parallel execution
steps:
- uses: actions/checkout@v4
- run: ./scripts/check/check.sh
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60

unit-test:
name: Unit test
Expand Down

0 comments on commit db6b7a2

Please sign in to comment.