refactor: remove old CI workflows and consolidate into a new test workflow

This commit is contained in:
2025-01-21 15:37:31 -06:00
parent 83ee19629c
commit d7408bf202
4 changed files with 28 additions and 193 deletions

View File

@@ -0,0 +1,23 @@
name: CI
on:
- pull_request
jobs:
check-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: tidy
run: go mod tidy
- name: lint
uses: golangci/golangci-lint-action@v3
with:
args: -D errcheck
version: latest
- name: build
run: go build ./...
- name: test
run: go test -race -v -shuffle=on ./...