diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d0a1173..83b9437 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,17 +1,22 @@ -on: [push, pull_request] name: Test -permissions: - contents: read +on: + push: + pull_request: + +permissions: {} jobs: version-matrix: strategy: fail-fast: false matrix: - go-version: [1.20.x, 1.21.x, 1.22.x] + go-version: [1.21.x, 1.22.x, 1.23.x] platform: [ubuntu-latest, macos-latest, windows-latest] + permissions: + contents: read + runs-on: ${{ matrix.platform }} steps: - name: Checkout code