This repository was archived by the owner on Oct 31, 2025. It is now read-only.
fix(deps): Update module github.com/coreos/go-oidc/v3 to v3.16.0 #31
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: [main, cqmain] | |
| pull_request: | |
| branches: [main, cqmain] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| - name: Set up Go Toolchain | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: false | |
| - name: Lint | |
| uses: golangci/golangci-lint-action@v4 | |
| with: | |
| version: "v1.62.2" | |
| build-and-test: | |
| name: Test and Build | |
| strategy: | |
| matrix: | |
| go-version-file: [go.mod] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| - name: Set up Go Toolchain | |
| uses: actions/setup-go@v5 | |
| id: setup-go | |
| with: | |
| go-version-file: ${{ matrix.go-version-file }} | |
| cache: false | |
| - name: Cache Go artifacts | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/go/pkg/mod | |
| ~/.cache/go-build | |
| key: ${{ runner.os }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go-${{ steps.setup-go.outputs.go-version }}- | |
| - name: Get dependencies | |
| run: | | |
| if ! command -v make &> /dev/null ; then | |
| echo "Installing make" | |
| apt-get update | |
| apt-get install -y make | |
| fi | |
| if ! command -v git &> /dev/null ; then | |
| echo "Installing git" | |
| apt-get update | |
| apt-get install -y git | |
| fi | |
| go get -v -t -d ./... | |
| - name: Test | |
| run: make test | |
| env: | |
| CGO_ENABLED: 0 | |
| - name: Test-Race | |
| run: make test-race | |
| - name: Build | |
| run: make linux |