Skip to content

Merge pull request #5 from Jagerente/4-update-documentation #9

Merge pull request #5 from Jagerente/4-update-documentation

Merge pull request #5 from Jagerente/4-update-documentation #9

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Test with the Go CLI
run: go test -coverprofile=coverage.txt -covermode=atomic -v ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}