Allow larger logs from acceptance tests and implement experimental OIDC refresh #43
Workflow file for this run
This file contains 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-acceptance | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
paths: ['acceptance/**'] | |
permissions: | |
id-token: write | |
contents: read | |
pull-requests: write | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- name: Install Tools | |
run: go install gotest.tools/gotestsum@latest | |
- name: Test | |
working-directory: acceptance | |
run: make test | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.0 | |
- name: Install Tools | |
run: | | |
go install golang.org/x/tools/cmd/goimports@latest | |
go install honnef.co/go/tools/cmd/staticcheck@latest | |
- name: Run make fmt | |
working-directory: acceptance | |
run: make fmt | |
- name: Run go mod tidy | |
working-directory: acceptance | |
run: go mod tidy | |
- name: Fail on differences | |
run: | | |
# Exit with status code 1 if there are differences (i.e. unformatted files) | |
git diff --exit-code |