ci update: jwx/v2 is using go 1.18+ type, set jwtauth pkg min to go 1.18 (#74)

This commit is contained in:
Peter Kieltyka 2022-11-13 11:33:12 -05:00 committed by GitHub
parent 84b5aa8ecb
commit c5c2c95d0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 3 deletions

View file

@ -1,4 +1,13 @@
on: [push, pull_request] on:
push:
branches: '**'
paths-ignore:
- 'docs/**'
pull_request:
branches: '**'
paths-ignore:
- 'docs/**'
name: Test name: Test
jobs: jobs:
test: test:
@ -12,7 +21,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x] go-version: [1.18.x, 1.19.x]
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

13
go.mod
View file

@ -1,8 +1,19 @@
module github.com/go-chi/jwtauth/v5 module github.com/go-chi/jwtauth/v5
go 1.16 go 1.18
require ( require (
github.com/go-chi/chi/v5 v5.0.7 github.com/go-chi/chi/v5 v5.0.7
github.com/lestrrat-go/jwx/v2 v2.0.6 github.com/lestrrat-go/jwx/v2 v2.0.6
) )
require (
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/goccy/go-json v0.9.11 // indirect
github.com/lestrrat-go/blackmagic v1.0.1 // indirect
github.com/lestrrat-go/httpcc v1.0.1 // indirect
github.com/lestrrat-go/httprc v1.0.4 // indirect
github.com/lestrrat-go/iter v1.0.2 // indirect
github.com/lestrrat-go/option v1.0.0 // indirect
golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f // indirect
)