From db6b7a2614845b2ebf453b3f02393676d83d5d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thor=20K=2E=20H=C3=B8g=C3=A5s?= Date: Thu, 3 Oct 2024 14:27:10 +0200 Subject: [PATCH] ci: upgrade golang-ci lint and use cached action --- .github/workflows/ci.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e640e63f..75cf3d14 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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