We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d0e8b3 commit 3338817Copy full SHA for 3338817
.github/workflows/watcher.yaml
@@ -0,0 +1,38 @@
1
+name: "Watcher: Build and test"
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ paths:
9
+ - watcher/**
10
+ - .github/**
11
12
13
14
+permissions:
15
+ contents: read
16
+ pull-requests: read
17
+ checks: write
18
19
+defaults:
20
+ run:
21
+ working-directory: watcher
22
23
+jobs:
24
+ build:
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - name: Checkout repository
28
+ uses: actions/checkout@v4
29
+ - uses: actions/setup-go@v5
30
+ with:
31
+ go-version: stable
32
+ - name: golangci-lint
33
+ uses: golangci/golangci-lint-action@v6
34
35
+ version: v1.60
36
37
+ - name: Run tests
38
+ run: go test -v ./...
0 commit comments