Skip to content

Merge pull request #41 from jklaiber/dependabot/go_modules/github.com… #38

Merge pull request #41 from jklaiber/dependabot/go_modules/github.com…

Merge pull request #41 from jklaiber/dependabot/go_modules/github.com… #38

Workflow file for this run

name: Go Tests
on:
pull_request: {}
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Install dependencies
run: go mod tidy
- name: Test Go Source Code with Coverage
run: go test ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}