Some checks failed
CI / build (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
533 B
YAML
24 lines
533 B
YAML
# Gitea Actions: build and test virtual-banker backend on push
|
|
name: CI
|
|
on:
|
|
push:
|
|
branches: [master, main]
|
|
pull_request:
|
|
branches: [master, main]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.21'
|
|
- name: Build
|
|
run: go build ./...
|
|
working-directory: backend
|
|
- name: Test
|
|
run: go test ./...
|
|
working-directory: backend
|