fix(oidc-callback): graceful redirect on failure + better logging #207
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
| name: Go | |
| on: | |
| push: | |
| branches: ['**'] | |
| pull_request: | |
| branches: ['**'] | |
| jobs: | |
| vet: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24.3' | |
| # gofmt -l is intentionally NOT enforced here — the inherited upstream | |
| # tree has files that aren't gofmt-clean and reformatting them now | |
| # would create persistent friction on upstream merges. Run gofmt | |
| # locally on files you touch; the lint job below also catches the | |
| # high-signal issues. | |
| - name: go vet | |
| run: go vet ./... | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24.3' | |
| - name: go build | |
| run: | | |
| CGO_ENABLED=0 go build -o /tmp/libredesk ./cmd/ | |
| - name: go test | |
| run: go test -count=1 ./... |