Skip to content

Commit

Permalink
fix: Use test scripts in GH actions
Browse files Browse the repository at this point in the history
Signed-off-by: Rebecca Roberts <rebecca.roberts@broadcom.com>
  • Loading branch information
ctlong authored and rroberts2222 committed Apr 11, 2024
1 parent 1905dbb commit 0c4ed55
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
- run: go run github.com/onsi/ginkgo/v2/ginkgo -r --race --randomize-all --randomize-suites --keep-going
working-directory: src

vet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
- run: go vet ./...
working-directory: src
- run: ./scripts/subtests/unit-test

lint:
runs-on: ubuntu-latest
Expand All @@ -38,7 +27,4 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
- uses: golangci/golangci-lint-action@v4.0.0
with:
args: --config .golangci.yml --timeout 5m
working-directory: src
- run: ./scripts/subtests/lint

0 comments on commit 0c4ed55

Please sign in to comment.