Skip to content

Merge pull request #15 from fingon/dependabot/github_actions/codecov/… #48

Merge pull request #15 from fingon/dependabot/github_actions/codecov/…

Merge pull request #15 from fingon/dependabot/github_actions/codecov/… #48

Workflow file for this run

name: Go
on:
pull_request:
push:
branches: [main, master]
# This concurrency rule is not really relevant here but is nice for
# cut-n-pasting to elsewhere
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
- run: |
make build
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}