Files
BanForge/.gitea/workflows/CI.yml
d3m0k1d 489f1f6405
Some checks failed
CI.yml / build (push) Has been cancelled
Fix linter on pipline
2026-01-11 20:12:37 +03:00

29 lines
578 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
- name: Run tests
run: go test ./...
- name: Build
run: go build -o BanForge ./cmd/banforge