build(deps): Bump envoyproxy/envoy from v1.37.2 to v1.38.0 in /authbridge/authproxy #778
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CI - Lint, test, and build for all modules | |
| # | |
| # Runs on PRs and pushes to main/release branches. | |
| # Covers the AuthProxy Go module and Python tests. | |
| # | |
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - "release-*" | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| pre-commit: | |
| name: Pre-commit Checks | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version-file: authbridge/authproxy/go.mod | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | |
| with: | |
| python-version: '3.12' | |
| - name: Run pre-commit | |
| uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 | |
| # TODO: Remove continue-on-error after fixing pre-existing style issues repo-wide | |
| continue-on-error: true | |
| env: | |
| SKIP: ai-assisted-by-trailer | |
| go-ci: | |
| name: Go CI | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| defaults: | |
| run: | |
| working-directory: authbridge/authproxy | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version-file: authbridge/authproxy/go.mod | |
| cache-dependency-path: authbridge/authproxy/go.sum | |
| - name: Lint | |
| run: | | |
| go fmt ./... | |
| go vet ./... | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test | |
| run: go test -v -race -cover ./... | |
| go-ci-authlib: | |
| name: Go CI (authlib) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| defaults: | |
| run: | |
| working-directory: authbridge/authlib | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version-file: authbridge/authlib/go.mod | |
| cache-dependency-path: authbridge/authlib/go.sum | |
| - name: Lint | |
| run: | | |
| go fmt ./... | |
| go vet ./... | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test | |
| run: go test -v -race -cover ./... | |
| go-ci-authbridge-cmd: | |
| name: Go CI (authbridge cmd) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| defaults: | |
| run: | |
| working-directory: authbridge/cmd/authbridge | |
| env: | |
| # Disable go.work — the workspace at authbridge/ includes ./authproxy | |
| # which would pull in that module's dependencies. The replace directive | |
| # in go.mod handles the authlib dependency for CI builds. | |
| GOWORK: "off" | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version-file: authbridge/cmd/authbridge/go.mod | |
| cache-dependency-path: authbridge/cmd/authbridge/go.sum | |
| - name: Lint | |
| run: | | |
| go fmt ./... | |
| go vet ./... | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test | |
| run: go test -v -race -cover ./... | |
| python-test: | |
| name: Python Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| pip install pytest==8.* python-keycloak==5.3.1 pyjwt==2.10.1 pyyaml==6.* | |
| - name: Run tests | |
| run: pytest tests/ -v -x --ignore=tests/e2e |