Skip to content

chore: add check

chore: add check #1

Workflow file for this run

on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
job:
runs-on: ubuntu
steps:
- uses: actions/[email protected]
- name: Run trunk
uses: trunk-io/trunk-action@v1
- name: Run tests
run: go test -coverprofile coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}