-
Notifications
You must be signed in to change notification settings - Fork 117
34 lines (33 loc) · 898 Bytes
/
go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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