Skip to content

Race condition in RunCmdWithOutputParser (#41) #78

Race condition in RunCmdWithOutputParser (#41)

Race condition in RunCmdWithOutputParser (#41) #78

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
env:
GOPROXY: direct
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.20.x
- name: Go Cache
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Go Vet
run: go vet ./...
- name: Tests
run: go test ./... -v -race