Files
steamcache2/.gitea/workflows/test-pr.yaml
Justin Harms d88db3d9c1
All checks were successful
Release / Build versioned release (push) Successful in 14s
refactor: remove old CI workflows and consolidate into a new test workflow
2025-01-21 15:37:31 -06:00

23 lines
505 B
YAML

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 ./...