Files
samba-configer/.gitea/workflows/build.yaml
T
dakota cb2fa46174
Build / build (push) Failing after 6m2s
make build config
2026-03-20 20:35:08 +00:00

36 lines
645 B
YAML

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Download dependencies
run: go mod download
- name: Run tests
run: go test ./...
- name: Build binary
run: go build -v -o samba-configer .
- name: Upload binary artifact
uses: actions/upload-artifact@v4
with:
name: samba-configer
path: samba-configer