Files
uptop/.gitea/workflows/ci.yml
T
lerko 6d7ecc46eb
CI / test (pull_request) Failing after 46s
CI / lint (pull_request) Failing after 20s
fix(ci): use sh instead of bash for runner compatibility
2026-05-24 12:42:49 -04:00

39 lines
627 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: sh
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.24"
- name: Vet
run: go vet ./...
- name: Test
run: go test -race -timeout 120s ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.24"
- uses: golangci/golangci-lint-action@v6
with:
version: v2.11.2