Skip to content

feat: peek parallel #15

feat: peek parallel

feat: peek parallel #15

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
golangci_lint: [v1.53]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.6.0
with:
version: ${{ matrix.golangci_lint }}
args: --timeout=2m
only-new-issues: false
working-directory: .
- name: Test
run: go test -v ./... -gcflags=all=-l
- name: Coverage
run: go test ./... -gcflags=all=-l -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.0.2
with:
file: ./coverage.txt
flags: unittests
env_vars: OS,GOLANG
name: codecov-umbrell
fail_ci_if_error: false