Files
BanForge/.gitea/workflows/CI.yml
d3m0k1d fda23cb622
All checks were successful
CI.yml / build (push) Successful in 51s
Fix cache
2026-01-11 20:29:44 +03:00

32 lines
648 B
YAML

name: CI.yml
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Go setup
uses: actions/setup-go@v6
with:
go-version: '1.25'
cache: false
- name: Install deps
run: go mod tidy
- name: Golangci-lint
uses: golangci/golangci-lint-action@v9.2.0
with:
args: --timeout=5m
skip-cache: true
- name: Run tests
run: go test ./...
- name: Build
run: go build -o BanForge ./cmd/banforge