diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 38297d8..d4f84e7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -38,3 +38,8 @@ jobs: run: go test -v -race -shuffle=on -coverprofile=coverage.txt ./... - name: Build run: go build -o /dev/null ./cmd/zettelkasten-exporter/main.go + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: coverage.txt