Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General maintenance #284

Merged
merged 45 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
e6ca98c
Bump github.com/labstack/echo/v4 from 4.10.0 to 4.10.2 in /examples
dependabot[bot] Feb 22, 2023
7333e71
Bump actions/setup-go from 3 to 4
dependabot[bot] Mar 16, 2023
4721fcd
Bump shogo82148/actions-goveralls from 1.6.0 to 1.7.0
dependabot[bot] Apr 27, 2023
3347913
Bump github.com/cristalhq/aconfig from 0.18.3 to 0.18.4 in /examples
dependabot[bot] May 1, 2023
8b45864
Bump github.com/xenitab/go-oidc-middleware/oidcecho in /examples
dependabot[bot] May 12, 2023
f46fff5
Bump github.com/stretchr/testify from 1.8.1 to 1.8.4
dependabot[bot] May 31, 2023
1257f39
Bump github.com/gin-gonic/gin from 1.8.2 to 1.9.1 in /examples
dependabot[bot] Jun 1, 2023
c1a8d3c
Bump goreleaser/goreleaser-action from 4.2.0 to 4.3.0
dependabot[bot] Jun 13, 2023
b798e34
Bump golangci/golangci-lint-action from 3.4.0 to 3.6.0
dependabot[bot] Jun 13, 2023
688f174
Bump github.com/lestrrat-go/jwx from 1.2.25 to 1.2.26
dependabot[bot] Jun 15, 2023
f5f5f74
Bump golang.org/x/sync from 0.1.0 to 0.3.0 in /examples
dependabot[bot] Jun 15, 2023
57b976c
Bump golang.org/x/sync from 0.1.0 to 0.3.0
dependabot[bot] Jun 15, 2023
efd0b78
Bump github.com/gofiber/fiber/v2 from 2.42.0 to 2.47.0 in /examples
dependabot[bot] Jun 20, 2023
6fa07df
Merge remote-tracking branch 'origin/dependabot/github_actions/action…
bittrance Jul 3, 2023
7eb5eab
Merge remote-tracking branch 'origin/dependabot/github_actions/golang…
bittrance Jul 3, 2023
91adf48
Merge remote-tracking branch 'origin/dependabot/github_actions/gorele…
bittrance Jul 3, 2023
e8e59ca
Merge remote-tracking branch 'origin/dependabot/github_actions/shogo8…
bittrance Jul 3, 2023
9ced64a
Merge remote-tracking branch 'origin/dependabot/go_modules/examples/g…
bittrance Jul 3, 2023
cdc59ed
Merge remote-tracking branch 'origin/dependabot/go_modules/examples/g…
bittrance Jul 3, 2023
bfca4bb
Merge remote-tracking branch 'origin/dependabot/go_modules/examples/g…
bittrance Jul 3, 2023
6ced917
Merge remote-tracking branch 'origin/dependabot/go_modules/examples/g…
bittrance Jul 3, 2023
4404d9e
Merge remote-tracking branch 'origin/dependabot/go_modules/examples/g…
bittrance Jul 3, 2023
1f32069
Merge remote-tracking branch 'origin/dependabot/go_modules/examples/g…
bittrance Jul 3, 2023
1c980eb
Merge remote-tracking branch 'origin/dependabot/go_modules/github.com…
bittrance Jul 3, 2023
ee1ac4e
Merge remote-tracking branch 'origin/dependabot/go_modules/github.com…
bittrance Jul 3, 2023
a155e5b
Merge remote-tracking branch 'origin/dependabot/go_modules/golang.org…
bittrance Jul 3, 2023
121a0c1
Post-merge cleanup.
bittrance Jul 3, 2023
86c048b
Bump go.uber.org/ratelimit from 0.2.0 to 0.3.0
dependabot[bot] Jul 10, 2023
ac94bd2
Bump github.com/labstack/echo/v4 from 4.10.0 to 4.11.1 in /examples
dependabot[bot] Jul 17, 2023
436fbe7
Bump github.com/gofiber/fiber/v2 from 2.42.0 to 2.48.0 in /examples
dependabot[bot] Jul 17, 2023
a9b84ae
Bump shogo82148/actions-goveralls from 1.6.0 to 1.8.0
dependabot[bot] Aug 9, 2023
104c9c2
Bump goreleaser/goreleaser-action from 4.2.0 to 4.4.0
dependabot[bot] Aug 10, 2023
2ff197d
Bump golangci/golangci-lint-action from 3.4.0 to 3.7.0
dependabot[bot] Aug 15, 2023
299107d
Merge branch 'dependabot/github_actions/golangci/golangci-lint-action…
simongottschlag Mar 8, 2024
426006d
Merge branch 'dependabot/github_actions/goreleaser/goreleaser-action-…
simongottschlag Mar 8, 2024
7f00f71
Merge branch 'dependabot/github_actions/shogo82148/actions-goveralls-…
simongottschlag Mar 8, 2024
6131b28
Merge branch 'dependabot/go_modules/examples/github.com/gofiber/fiber…
simongottschlag Mar 8, 2024
ae2bc37
Merge branch 'dependabot/go_modules/examples/github.com/labstack/echo…
simongottschlag Mar 8, 2024
53647fd
Merge branch 'dependabot/go_modules/go.uber.org/ratelimit-0.3.0' into…
simongottschlag Mar 8, 2024
2d33356
make go-update
simongottschlag Mar 8, 2024
748f853
fix fiber error
simongottschlag Mar 8, 2024
dc545fa
update go to 1.22
simongottschlag Mar 8, 2024
f317382
fix linting errors
simongottschlag Mar 8, 2024
7a0e46a
add go 1.22 to codeql
simongottschlag Mar 8, 2024
467c74a
fix 1.22 coverage bug
simongottschlag Mar 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
)