Skip to content

Feat/onchain checks #35

Feat/onchain checks

Feat/onchain checks #35

Workflow file for this run

name: Test
on:
workflow_call:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test-go:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: "1.21"
- name: Test go project
run: |
make test-go
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: github.actor != 'dependabot[bot]'
with:
files: ./target/coverage.out
env_vars: OS,GOLANG
fail_ci_if_error: true
verbose: true