27 lines
618 B
YAML
27 lines
618 B
YAML
on: [push, pull_request]
|
|
name: Go Test
|
|
|
|
jobs:
|
|
unit:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ "ubuntu" ]
|
|
go: [ "1.22.x", "1.23.x", ]
|
|
env:
|
|
COVERAGES: ""
|
|
runs-on: ${{ matrix.os }}-latest
|
|
name: ${{ matrix.os}} (go ${{ matrix.go }})
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- name: Go information
|
|
run: |
|
|
go version
|
|
go env
|
|
- name: Run tests
|
|
run: go test -v ./... -tags jwx_es256k
|
|
- name: Check formatted
|
|
run: gofmt -l . |