Bump golang.org/x/crypto from 0.18.0 to 0.21.0 #725
Workflow file for this run
This file contains 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
name: Go Test | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [stable, oldstable] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: go install github.com/ory/go-acc@latest | |
- run: go-acc -o coverage.txt ./... -- -race -tags integration | |
- run: make test-trust | |
- uses: codecov/codecov-action@v4 | |
test-hsm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
- run: sudo apt-get update && sudo apt-get install -y softhsm2 | |
- run: sudo cp -r tests/testdata/tokens/* /var/lib/softhsm/tokens | |
- run: go install github.com/ory/go-acc@latest | |
- run: go-acc -o coverage.txt ./... -- -race -tags pkcs11 | |
env: | |
TEST_SOFT_HSM: true | |
- uses: codecov/codecov-action@v4 | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install golint | |
run: go install ./vendor/golang.org/x/lint/golint | |
- name: Go Lint | |
run: make gokeyless vet lint |