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 ab074fd commit ed37e90Copy full SHA for ed37e90
.github/workflows/go.yml
@@ -0,0 +1,35 @@
1
+name: Go
2
+
3
+on:
4
+ push:
5
+ branches: [ $default-branch, "develop" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Set up Go
15
+ uses: actions/setup-go@v3
16
+ with:
17
+ go-version: 1.18
18
+ - name: Generate SSH key
19
+ run: ssh-keygen -f ~/.ssh/id_rsa -P ""
20
+ - name: Test
21
+ run: make test
22
23
+ build:
24
+ needs: test
25
26
27
28
29
30
31
32
+ - name: Set dependencies
33
+ run: sudo apt update && sudo apt install musl-tools
34
+ - name: Build
35
+ run: make build
0 commit comments