Skip to content

Merge pull request #3 from pactus-project/update-github-action #5

Merge pull request #3 from pactus-project/update-github-action

Merge pull request #3 from pactus-project/update-github-action #5

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
go: [ '1.21' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Dependencies
run: go install github.com/haya14busa/goverage@latest
- name: Tests
run: |
goverage -race -coverprofile=coverage.txt -covermode=atomic
make test/units test/bench test/lint
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v2