From c5c2c95d0a014f2bfdce5e0048bf6ea955c34525 Mon Sep 17 00:00:00 2001 From: Peter Kieltyka Date: Sun, 13 Nov 2022 11:33:12 -0500 Subject: [PATCH] ci update: jwx/v2 is using go 1.18+ type, set jwtauth pkg min to go 1.18 (#74) --- .github/workflows/ci.yml | 13 +++++++++++-- go.mod | 13 ++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d65abe..138103d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,13 @@ -on: [push, pull_request] +on: + push: + branches: '**' + paths-ignore: + - 'docs/**' + pull_request: + branches: '**' + paths-ignore: + - 'docs/**' + name: Test jobs: test: @@ -12,7 +21,7 @@ jobs: strategy: 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] runs-on: ${{ matrix.os }} diff --git a/go.mod b/go.mod index 1b8e72d..269569a 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,19 @@ module github.com/go-chi/jwtauth/v5 -go 1.16 +go 1.18 require ( github.com/go-chi/chi/v5 v5.0.7 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 +)