make build config
Build / build (push) Failing after 6m2s

This commit is contained in:
2026-03-20 20:35:08 +00:00
parent 3a23a4cb12
commit cb2fa46174
+35
View File
@@ -0,0 +1,35 @@
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