Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 6 additions & 24 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ 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
run: |
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:
Expand All @@ -33,38 +33,20 @@ 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
steps:
- 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 ./...
Loading