tangled
alpha
login
or
join now
julien.rbrt.fr
/
servmon
0
fork
atom
kiss server monitoring tool with email alerts
go
monitoring
0
fork
atom
overview
issues
pulls
pipelines
ci: add spindle workflow
julien.rbrt.fr
3 months ago
5a0c7e88
19189335
+24
-9
2 changed files
expand all
collapse all
unified
split
.tangled
workflows
ci.yml
Makefile
+24
.tangled/workflows/ci.yml
···
1
1
+
when:
2
2
+
- event: ["push"]
3
3
+
branch: ["main"]
4
4
+
- event: ["pull_request"]
5
5
+
branch: ["main"]
6
6
+
7
7
+
engine: "nixery"
8
8
+
9
9
+
# using the default values
10
10
+
clone:
11
11
+
skip: false
12
12
+
depth: 1
13
13
+
submodules: false
14
14
+
15
15
+
dependencies:
16
16
+
nixpkgs:
17
17
+
- go
18
18
+
19
19
+
steps:
20
20
+
- name: "Build servmon"
21
21
+
command: "go build ."
22
22
+
23
23
+
- name: "Run tests"
24
24
+
command: "go test ./... -v"
-9
Makefile
···
1
1
-
#!/usr/bin/make -f
2
2
-
3
3
-
PWD=$(shell pwd)
4
4
-
5
5
-
build:
6
6
-
go build -o servmon-bin .
7
7
-
8
8
-
install:
9
9
-
go install .