Skip to content

Commit

Permalink
Merge pull request #284 from XenitAB/update-deps
Browse files Browse the repository at this point in the history
General maintenance
  • Loading branch information
simongottschlag committed Mar 8, 2024
2 parents 59fcaf8 + 467c74a commit 4f0797a
Show file tree
Hide file tree
Showing 26 changed files with 914 additions and 679 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yaml
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "^1.20"
go-version: "^1.22"

- name: Checkout Code (Previous)
uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yaml
Expand Up @@ -37,6 +37,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup go
uses: actions/setup-go@v4
with:
go-version: "^1.22"

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage-main.yaml
Expand Up @@ -12,16 +12,16 @@ jobs:
- name: Clone repo
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "^1.20"
go-version: "^1.22"
- name: coverage
env:
CI: true
run: |
make cover
- name: Send coverage to coverall
uses: shogo82148/actions-goveralls@v1.6.0
uses: shogo82148/actions-goveralls@v1.8.0
with:
path-to-profile: coverage_merged.out
ignore: internal/oidctesting
26 changes: 13 additions & 13 deletions .github/workflows/pr-validation.yaml
Expand Up @@ -11,23 +11,23 @@ jobs:
- name: Clone repo
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "^1.20"
go-version: "^1.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.4.0
uses: golangci/golangci-lint-action@v3.7.0
with:
version: v1.51.1
version: v1.56.2

fmt:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "^1.20"
go-version: "^1.22"
- name: Run fmt
run: |
make fmt
Expand All @@ -45,9 +45,9 @@ jobs:
- name: Clone repo
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "^1.20"
go-version: "^1.22"
- name: Run build-examples
run: |
make build-examples
Expand All @@ -58,9 +58,9 @@ jobs:
- name: Clone repo
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "^1.20"
go-version: "^1.22"
- name: Run test
run: |
make test
Expand All @@ -71,16 +71,16 @@ jobs:
- name: Clone repo
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "^1.20"
go-version: "^1.22"
- name: coverage
env:
CI: true
run: |
make cover
- name: Send coverage to coverall
uses: shogo82148/actions-goveralls@v1.6.0
uses: shogo82148/actions-goveralls@v1.8.0
with:
path-to-profile: tmp/coverage_merged.out
ignore: internal/oidctesting
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Expand Up @@ -17,11 +17,11 @@ jobs:
id: get_tag
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "^1.20"
go-version: "^1.22"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4.2.0
uses: goreleaser/goreleaser-action@v4.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
6 changes: 3 additions & 3 deletions .golangci.yaml
Expand Up @@ -43,7 +43,7 @@ linters-settings:
locale: US

unused:
go: "1.20"
go: "1.22"

unparam:
check-exported: true
Expand All @@ -52,7 +52,7 @@ linters-settings:
check-shadowing: false

gosimple:
go: "1.20"
go: "1.22"
checks: ["all"]

errorlint:
Expand Down Expand Up @@ -163,7 +163,7 @@ linters-settings:
require-specific: true

staticcheck:
go: "1.20"
go: "1.22"
checks: ["all"]

thelper:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -109,6 +109,7 @@ bench:
.SILENT: cover
cover:
set -e
export GOEXPERIMENT=nocoverageredesign # https://github.com/golang/go/issues/65570
ROOT_DIR=$(PWD)
mkdir -p $${ROOT_DIR}/tmp/
for pkg in $(PKGS_CLEAN); do
Expand Down
86 changes: 44 additions & 42 deletions examples/go.mod
@@ -1,72 +1,74 @@
module examples

go 1.20
go 1.22

require (
github.com/xenitab/go-oidc-middleware v0.0.42
github.com/xenitab/go-oidc-middleware/oidcecho v0.0.42
github.com/xenitab/go-oidc-middleware/oidcfiber v0.0.42
github.com/xenitab/go-oidc-middleware/oidcgin v0.0.42
github.com/xenitab/go-oidc-middleware/oidchttp v0.0.42
github.com/xenitab/go-oidc-middleware v0.0.43
github.com/xenitab/go-oidc-middleware/oidcecho v0.0.43
github.com/xenitab/go-oidc-middleware/oidcfiber v0.0.43
github.com/xenitab/go-oidc-middleware/oidcgin v0.0.43
github.com/xenitab/go-oidc-middleware/oidchttp v0.0.43
)

require (
github.com/cristalhq/aconfig v0.18.3
github.com/gin-gonic/gin v1.8.2
github.com/gofiber/fiber/v2 v2.42.0
github.com/labstack/echo/v4 v4.10.0
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
golang.org/x/sync v0.1.0
github.com/cristalhq/aconfig v0.18.5
github.com/gin-gonic/gin v1.9.1
github.com/gofiber/fiber/v2 v2.52.2
github.com/labstack/echo/v4 v4.11.4
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
golang.org/x/sync v0.6.0
)

require (
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/benbjohnson/clock v1.3.5 // indirect
github.com/bytedance/sonic v1.11.2 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.11.2 // indirect
github.com/goccy/go-json v0.10.0 // indirect
github.com/go-playground/validator/v10 v10.19.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.15.15 // indirect
github.com/labstack/gommon v0.4.0 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/klauspost/compress v1.17.7 // indirect
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/lestrrat-go/backoff/v2 v2.0.8 // indirect
github.com/lestrrat-go/blackmagic v1.0.1 // indirect
github.com/lestrrat-go/blackmagic v1.0.2 // indirect
github.com/lestrrat-go/httpcc v1.0.1 // indirect
github.com/lestrrat-go/iter v1.0.2 // indirect
github.com/lestrrat-go/jwx v1.2.25 // indirect
github.com/lestrrat-go/jwx v1.2.29 // indirect
github.com/lestrrat-go/option v1.0.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.4.3 // indirect
github.com/savsgio/dictpool v0.0.0-20221023140959-7bf2e61cea94 // indirect
github.com/savsgio/gotils v0.0.0-20230208104028-c358bd845dee // indirect
github.com/stretchr/testify v1.8.1 // indirect
github.com/tinylib/msgp v1.1.8 // indirect
github.com/ugorji/go/codec v1.2.9 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/stretchr/testify v1.9.0 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.12 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.44.0 // indirect
github.com/valyala/fasthttp v1.52.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
github.com/valyala/tcplisten v1.0.0 // indirect
go.uber.org/ratelimit v0.2.0 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
go.uber.org/ratelimit v0.3.1 // indirect
golang.org/x/arch v0.7.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

0 comments on commit 4f0797a

Please sign in to comment.