Bump github/codeql-action from 4.37.7 to 4.37.9 #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The only test workflow. A separate smoke run used to exist so feature | |
| # branches could take a fast subset, but this suite has no fast/slow split and | |
| # finishes in seconds, so the two had drifted into running the same command | |
| # twice per pull request. | |
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - v1 | |
| pull_request: | |
| branches: | |
| - v1 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # 1.27 is required: crypto/mldsa lands there, and mldsa.go is | |
| # constrained to go1.27, so no earlier toolchain compiles it. | |
| go: [ '1.27', '1.26', '1.25' ] | |
| name: "Test [ Go ${{ matrix.go }} ]" | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Cache Go modules | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| with: | |
| path: | | |
| ~/go/pkg/mod | |
| ~/.cache/go-build | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go- | |
| - name: Install Go stable version | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| check-latest: true | |
| - name: Run go mod tidy | |
| run: go mod tidy | |
| - name: Run tests | |
| run: go test -v -race -cover ./... |