We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 919bbbb commit 63538fbCopy full SHA for 63538fb
.github/workflows/check.yml
@@ -0,0 +1,26 @@
1
+name: "check"
2
+
3
+on:
4
+ workflow_call:
5
+ workflow_dispatch:
6
7
+jobs:
8
+ vet:
9
+ runs-on: "ubuntu-latest"
10
+ steps:
11
+ - name: "Checkout"
12
+ uses: "actions/checkout@v4"
13
14
+ - name: "`go vet`"
15
+ run: |
16
+ go vet ./...
17
18
+ test:
19
20
21
22
23
24
+ - name: "Run tests."
25
26
+ go test -v ./...
.github/workflows/push.yml
@@ -0,0 +1,11 @@
+name: "push"
+ push:
+ branches:
+ - "master"
+ check:
+ uses: "./.github/workflows/check.yml"
0 commit comments