chore: fix dockerfile and update ci/cd piplines
Some checks failed
Backend ci / build (push) Failing after 1m29s

This commit is contained in:
d3m0k1d
2026-02-03 15:08:39 +03:00
parent 94aae8e3ec
commit fd217625a0
4 changed files with 107 additions and 41 deletions

View File

@@ -0,0 +1,39 @@
name: Backend ci
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
defaults:
run:
working-directory: backend
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 backend ./cmd/banforge