diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dbab831..a34607e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: lint: strategy: matrix: - go: ['1.21'] + go: [stable, oldstable] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -20,6 +20,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} + cache: true - name: Prepare checkout run: git config --global core.autocrlf false @@ -30,5 +31,5 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v6.1.0 with: - version: "v1.54" + version: latest args: --timeout=5m diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ddaa289..4600a18 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: test: strategy: matrix: - go: ['1.21'] + go: [stable, oldstable] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -20,6 +20,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} + cache: true - name: Prepare checkout run: git config --global core.autocrlf false