Skip to content

Commit

Permalink
Add coverage report uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
askolesov committed Aug 21, 2023
1 parent 4267fab commit 3d8c0c0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Coverage

on:
push:
workflow_call:

jobs:
lint:
name: Coverage report
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 3d8c0c0

Please sign in to comment.