mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
27 lines
611 B
YAML
27 lines
611 B
YAML
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
|
|
go: ["1.19.x"]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
- uses: WillAbides/setup-go-faster@v1.8.0
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- run: "go test -race ./..."
|
|
- uses: dominikh/staticcheck-action@v1.2.0
|
|
with:
|
|
version: "2022.1.1"
|
|
install-go: false
|
|
cache-key: ${{ matrix.go }}
|