Skip to content

Commit

Permalink
chore: add check
Browse files Browse the repository at this point in the history
  • Loading branch information
jrschumacher authored Aug 8, 2024
1 parent 58763ce commit 5da3dd1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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 }}

0 comments on commit 5da3dd1

Please sign in to comment.