Fix bootstrap unit tests and run tests for pull requests #796
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: go | |
on: [push, pull_request] | |
jobs: | |
lint: # <- name | |
strategy: | |
matrix: | |
os: [macos-latest, windows-2019, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- uses: golangci/golangci-lint-action@v6 | |
if: ${{ matrix.os == 'windows-2019' }} | |
- uses: golangci/golangci-lint-action@v6 | |
if: ${{ matrix.os != 'windows-2019' }} | |
with: | |
args: --enable goimports | |
test-unit: # <- name | |
strategy: | |
matrix: | |
os: [macos-latest, windows-2019, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- run: go run github.com/onsi/ginkgo/v2/ginkgo run -r --keep-going --skip-package integration |