priorityq/.gitea/workflows/build.yaml

29 lines
464 B
YAML
Raw Normal View History

2023-12-11 08:24:04 +00:00
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:
2024-08-22 07:59:08 +00:00
go-version: 1.23.0
2023-12-11 08:24:04 +00:00
-
name: Run linter
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
-
name: Run tests
run: go test ./...