Skip to content

Added debug info to the Run Url #48

Added debug info to the Run Url

Added debug info to the Run Url #48

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