Skip to content

test: build test

test: build test #354

Workflow file for this run

name: test
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.23'
- name: Run go mod tidy
run: go mod tidy
- name: Run Test
run: go test ./... -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)