Skip to content

Add a new keyless protocol error type for remote configuration issues #547

Add a new keyless protocol error type for remote configuration issues

Add a new keyless protocol error type for remote configuration issues #547

Workflow file for this run

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@v4
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@v3
test-hsm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
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@v3
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
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