Skip to content

Merge pull request #10 from GSH-LAN/dependabot/go_modules/github.com/… #61

Merge pull request #10 from GSH-LAN/dependabot/go_modules/github.com/…

Merge pull request #10 from GSH-LAN/dependabot/go_modules/github.com/… #61

Workflow file for this run

name: Go test and coverage
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version: '1.21.5'
- name: Run coverage
run: go test -race -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)