fix: state export (#60) #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codecov | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: [opened, reopened, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: Get heighliner | |
run: | | |
wget -c https://github.com/strangelove-ventures/heighliner/releases/download/v1.5.4/heighliner_1.5.4_linux_amd64.tar.gz -O - | tar -xz heighliner | |
mv heighliner /usr/local/bin | |
- name: Make local image | |
run: make local-image-cov | |
- name: Run coverage | |
run: make coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/[email protected] | |
with: | |
file: coverage-filtered.out | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |