We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137f7f5 commit 2efe0b1Copy full SHA for 2efe0b1
.github/workflows/go-test.yml
@@ -0,0 +1,33 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - 'pkg/**'
7
+ - '*.go'
8
+ - 'go.mod'
9
+ workflow_dispatch:
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - name: Setup Go
19
+ uses: actions/setup-go@v4
20
+ with:
21
+ go-version: '1.21.4'
22
23
+ - name: Install Task
24
+ uses: arduino/setup-task@v1
25
26
+ version: 3.x
27
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
28
29
+ - name: Build
30
+ run: task build
31
32
+ - name: Test with the Go CLI
33
+ run: task test
0 commit comments