Skip to content

Merge pull request #7 from WqyJh/feat-tool #63

Merge pull request #7 from WqyJh/feat-tool

Merge pull request #7 from WqyJh/feat-tool #63

Workflow file for this run

name: Code coverage
on:
- push
- pull_request
jobs:
codecov:
name: Code coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.19"
- name: Run vet
run: |
go vet .
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
- name: Run tests
run: make cov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}