Skip to content

chore: cut v0.4.1 release #155

chore: cut v0.4.1 release

chore: cut v0.4.1 release #155

name: codacy-coverage-reporter
on:
push:
branches:
- main
- develop
env:
GO_VERSION: '1.20'
jobs:
codacy-coverage-reporter:
name: Codacy coverage report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
id: go
- name: Test Packages
run: make test
- name: Run codacy-coverage-reporter
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: |
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --force-coverage-parser go -r cover.out