ci: add build.yml

This commit is contained in:
Patryk Hegenberg 2025-06-04 12:51:41 +02:00
parent a739a16a5e
commit f5f1b5f96b

View file

@ -0,0 +1,21 @@
name: Build workctl
on: [push, pull_request]
jobs:
build-and-run:
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: '1.24'
- name: Build Go application
run: |
go mod tidy
go build -o workctl .