methods for the OIDC auth flow #91
Workflow file for this run
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: Build and test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - ".github/workflows/test.yml" | |
| - "**Makefile" | |
| - "**.go" | |
| - "**.proto" | |
| - "go.mod" | |
| - "go.sum" | |
| jobs: | |
| test-linux: | |
| name: Build and test on Ubuntu | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| check-latest: true | |
| id: go | |
| - uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: ${{ runner.os }}-go1.22-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go1.22- | |
| - name: Run unit tests | |
| run: make testvv | |
| env: | |
| TEST_FLAGS: -race | |
| - name: Report failures to Slack | |
| if: ${{ always() && github.ref == 'refs/heads/main' }} | |
| uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2 | |
| with: | |
| notification_title: "It seems that my sole purpose in this dismal existence is to spread the gloomy news of broken code and shattered dreams." | |
| footer: "I think you ought to know I'm feeling very depressed." | |
| status: ${{ job.status }} | |
| notify_when: 'failure' | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_REPORTING_WEBHOOK }} |