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 8f719d6 commit c3af7f7Copy full SHA for c3af7f7
.circleci/config.yml
.github/workflows/tests.yaml
@@ -0,0 +1,32 @@
1
+name: Tests
2
+
3
+# Run this workflow on pushes and manually
4
+on: [push, workflow_dispatch]
5
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ env:
10
+ GO111MODULE: on
11
+ steps:
12
+ - uses: actions/checkout@v2
13
14
+ # cache/restore go mod
15
+ - uses: actions/cache@v2
16
+ with:
17
+ path: |
18
+ ~/.cache/go-build
19
+ ~/go/pkg/mod
20
+ key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
21
+ restore-keys: |
22
+ ${{ runner.os }}-go-
23
24
+ - uses: actions/setup-go@v2
25
26
+ go-version: 1.18.1
27
28
+ - name: Build
29
+ run: go build
30
31
+ - name: Test
32
+ run: go test -v ./...
0 commit comments