initial commit

This commit is contained in:
Krzysztof
2025-08-01 18:01:55 +02:00
commit 9af1af7f92
73 changed files with 6531 additions and 0 deletions

30
.github/workflows/go.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Go
on:
push
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24'
- name: Build
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o uptimemonitor ./cmd/uptimemonitor
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files:
uptimemonitor
- name: Test
run: go run gotest.tools/gotestsum@latest --format testdox -- ./test