Add Gitea Actions workflow.
Build & Test / Main (push) Successful in 20s Details

This commit is contained in:
Sam Fredrickson 2023-12-11 00:24:04 -08:00
parent a20c8908de
commit d569bb2686
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
name: Build & Test
on:
push:
branches:
- "**"
jobs:
Main:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.5
-
name: Run linter
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
-
name: Run tests
run: go test ./...