Skip to content

Add force cancel option to the producer-consumer (#40) #69

Add force cancel option to the producer-consumer (#40)

Add force cancel option to the producer-consumer (#40) #69

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.19.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