diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index f84bc48..305c6f8 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -26,6 +26,10 @@ jobs: with: check-latest: true go-version: 1.22.6 + - name: Run golangci-lint + uses: golangci/golangci-lint-action@v6 + with: + version: latest - name: Dependency Licenses Review run: make check-dependency-licenses - name: Run govulncheck diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6a91194..c366b59 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,8 +18,8 @@ name: CI permissions: contents: read jobs: - buildAndLint: - name: Build & Lint + build: + name: Build runs-on: ubuntu-latest steps: - name: Check out code @@ -29,14 +29,10 @@ jobs: with: check-latest: true go-version: 1.22.6 - - name: Run golangci-lint - uses: golangci/golangci-lint-action@v6 - with: - version: latest test: name: Test needs: - - buildAndLint + - build runs-on: ubuntu-latest steps: - name: Check out code