Skip to content

Fix path to build status badge #68

Fix path to build status badge

Fix path to build status badge #68

name: Test
on:
push:
branches: '**'
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
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]
- name: Install bash_unit
run: bash <(curl -s https://raw.githubusercontent.com/pgrange/bash_unit/master/install.sh)
- name: Test install script
run: ./bash_unit test-install.sh