Skip to content

Run tests in pipeline #151

Run tests in pipeline

Run tests in pipeline #151

name: Build
on:
push:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Test
run: |
git config user.email "[email protected]"
git config user.name "Talisman Maintainers"
go test -covermode=count -coverprofile=coverage.out -v ./...
- name: Codecov
# You may pin to the exact commit or the version.
# uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649
uses: codecov/[email protected]