diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 80c6b04..ea006c5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.24.3 + go-version: 1.22.x - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: Build and Lint @@ -24,7 +24,7 @@ jobs: go build ./... go vet -tests=false ./... # Specifically for examples without a corresponding identifier test: - name: Text ${{ matrix.os }} + name: Test ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -33,12 +33,11 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.24.3 + go-version: 1.22.x - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: Test on ${{ matrix.os }} - run: | - go test ./... + run: go test ./... fips140: name: 'Test FIPS 140' runs-on: ubuntu-latest @@ -46,25 +45,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.24.3 + go-version: 1.22.x - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: Test - run: | - GODEBUG=fips140=on go test ./... - vulncheck: - name: Vulncheck - runs-on: ubuntu-latest - steps: - - name: Set up Go ${{ matrix.go-version }} - uses: actions/setup-go@v5 - with: - go-version: 1.24.3 - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - - name: Get govulncheck - run: go install golang.org/x/vuln/cmd/govulncheck@latest - shell: bash - - name: Run govulncheck - run: govulncheck ./... - shell: bash + run: GODEBUG=fips140=on go test ./...