Skip to content

fix the Driver controller and ClientProfile controller unit tests #3

fix the Driver controller and ClientProfile controller unit tests

fix the Driver controller and ClientProfile controller unit tests #3

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Unit Tests

Invalid workflow file

The workflow is not valid. .github/workflows/unit-test.yaml (Line: 26, Col: 9): 'uses' is already defined .github/workflows/unit-test.yaml (Line: 27, Col: 9): 'with' is already defined
with:
go-version-file: go.mod
check-latest: true
- name: run unit tests
run: make test