fix the Driver controller and ClientProfile controller unit tests #3
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: Unit Tests | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'vendor/*' | ||
branches: | ||
- main | ||
- release-* | ||
# cancel the in-progress workflow when PR is refreshed. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | ||
cancel-in-progress: true | ||
permissions: | ||
contents: read | ||
jobs: | ||
unittests: | ||
name: unittests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
uses: actions/setup-go@v5 | ||
Check failure on line 26 in .github/workflows/unit-test.yaml GitHub Actions / Unit TestsInvalid workflow file
|
||
with: | ||
go-version-file: go.mod | ||
check-latest: true | ||
- name: run unit tests | ||
run: make test |