diff --git a/.github/workflows/golangci.yaml b/.github/workflows/golangci.yaml index 64d7e91b68..90c9505eb0 100644 --- a/.github/workflows/golangci.yaml +++ b/.github/workflows/golangci.yaml @@ -5,18 +5,22 @@ on: jobs: golangci: strategy: + fail-fast: false matrix: - go-version: [1.17.x] - os: [ubuntu-latest] + go-version: [1.17.x, 1.18.x] + os: [ubuntu-latest, windows-latest] name: Lint runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: golangci-lint - uses: golangci/golangci-lint-action@v2 - with: - version: v1.44 - args: --timeout=5m - only-new-issues: true + - uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.45.2 + args: --timeout=10m + only-new-issues: true