diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5b8fe5af..04d6aaba7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,12 @@ jobs: restore-keys: | ${{ runner.os }}-go- + - name: Lint + uses: golangci/golangci-lint-action@v2 + if: ${{ matrix.go-version == '1.17.x' }} + with: + version: v1.44.0 + - name: Test (Unit) run: make test if: ${{ matrix.go-version != '1.17.x' }} @@ -53,10 +59,3 @@ jobs: - name: Test (Functional) run: make test_functional if: ${{ matrix.go-version == '1.17.x' }} - - - name: Lint - uses: golangci/golangci-lint-action@v2 - if: ${{ matrix.go-version == '1.17.x' }} - with: - version: v1.44.0 - args: --enable goimports