Skip to content

Merge pull request #2 from remychantenay/add-codecov #5

Merge pull request #2 from remychantenay/add-codecov

Merge pull request #2 from remychantenay/add-codecov #5

Workflow file for this run

name: Main CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Linting
run: make lint
- name: govulncheck
run: govulncheck ./...
- name: Testing
run: make test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:

Check failure on line 38 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

You have an error in your yaml syntax on line 38
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}