Skip to content

update coverage

update coverage #4

Workflow file for this run

name: Go Test
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
- name: chmod
run: chmod +x ./setup-test.sh
- name: setup tests
run: ./setup-test.sh
- name: Run tests
run: go test ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
env:
fail_ci_if_error: true
files: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
verbose: trueslug: knbr13/gitcs

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

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 38