-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (32 loc) · 898 Bytes
/
go.yml
File metadata and controls
33 lines (32 loc) · 898 Bytes
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
---
name: go
on:
push:
pull_request:
jobs:
lint: # <- name
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v9
# TODO: remove once caching bug is fixed https://github.com/golangci/golangci-lint-action/issues/420#issuecomment-3530581599
with:
skip-cache: true
#/TODO
test-unit: # <- name
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- run: go run github.com/onsi/ginkgo/v2/ginkgo run -r --skip-package integration