Skip to content

refactor for concurrent concurrent write end Close calls #15

refactor for concurrent concurrent write end Close calls

refactor for concurrent concurrent write end Close calls #15

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main" ]
jobs:
test:
strategy:
matrix:
os: [ 'ubuntu-latest', 'macOS-latest', 'windows-latest' ]
go: [ '1.18', '1.19', '1.20', '1.21', '1.22' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test -count=1 -v -failfast -cover ./...
- name: Test with race detector
run: go test -count=10 -v -race -failfast -cover ./...