Bump docker/bake-action from 3 to 4 (#249) #12
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: Test Coverage | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
jobs: | |
coverage: | |
name: Test Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Setup Goveralls | |
run: go install github.com/mattn/[email protected] | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
skip-pkg-cache: true | |
- name: Run Tests | |
run: make test-cov | |
- name: Run Coveralls | |
run: goveralls -coverprofile=collector.out,exporter.out -service=github | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |