Skip to content

Aquire semaphore when network will be accessed (#25) #133

Aquire semaphore when network will be accessed (#25)

Aquire semaphore when network will be accessed (#25) #133

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.18' ]
name: Go ${{ matrix.go }} test
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check documentation generator
run: |
find . -name '*.md' | xargs env AUTODOC_DRYRUN=1 perl tools/autodoc.pl
- name: Install Go stable version
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test -v -race -coverprofile=coverage.out -coverpkg=./... ./...
- name: Upload code coverage to codecov
if: matrix.go == '1.19'
uses: codecov/codecov-action@v4
with:
file: ./coverage.out