Skip to content

feature:Setting up CodeQL analysis #4

feature:Setting up CodeQL analysis

feature:Setting up CodeQL analysis #4

Workflow file for this run

name: Codecov
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
code_cov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.16'
- name: Run tests and generate coverage report
run: |
go test -coverprofile=coverage.out -gcflags="all=-l -N" $(go list ./...) -short
- uses: codecov/codecov-action@v3