yyvf22 pushed to branch main at Root / CLI / Mirror Monitor
Commits:
-
f5029eb1
by yyvf at 2025-07-31T10:14:19-03:00
1 changed file:
Changes:
1 | -# This workflow will build and test two Go binaries: server and tui
|
|
2 | -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
|
|
3 | - |
|
4 | -name: Go
|
|
5 | - |
|
6 | -on:
|
|
7 | - push:
|
|
8 | - branches: [ "main" ]
|
|
9 | - pull_request:
|
|
10 | - branches: [ "main" ]
|
|
11 | - |
|
12 | -jobs:
|
|
13 | - build:
|
|
14 | - runs-on: ubuntu-latest
|
|
15 | - steps:
|
|
16 | - - uses: actions/checkout@v4
|
|
17 | - |
|
18 | - - name: Set up Go
|
|
19 | - uses: actions/setup-go@v4
|
|
20 | - with:
|
|
21 | - go-version: '1.24'
|
|
22 | - |
|
23 | - - name: Build server
|
|
24 | - run: go build -v -o rsyncuptime-server ./server.go
|
|
25 | - |
|
26 | - - name: Build tui
|
|
27 | - run: go build -v -o rsyncuptime-tui ./tui.go
|
|
28 | - |
|
29 | - - name: Test
|
|
30 | - run: go test -v ./server.go ./server_test.go |