fixup-squashme gitivng up on e2e tests with env test for now #8
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
permissions: {} | |
on: | |
push: | |
pull_request: | |
jobs: | |
"unit-tests": | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- run: go test $(go list ./... | grep -v pkg/controller) -coverprofile cover.out | |
"build": | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- run: make build |