We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a63ee2e + d740626 commit 91140cbCopy full SHA for 91140cb
.github/workflows/build.yaml
@@ -0,0 +1,28 @@
1
+# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2
+
3
+name: build
4
+on: [push, pull_request]
5
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout repository
11
+ uses: actions/checkout@v3
12
+ - uses: actions/setup-go@v3
13
+ with:
14
+ go-version-file: go.mod
15
+ cache: true
16
+ cache-dependency-path: go.sum
17
+ - name: Bootstrap
18
+ run: make bootstrap
19
+ - name: Build
20
+ run: make fetch-schemas build
21
+ - name: Build (Windows)
22
+ run: GOOS=windows make build
23
+ - name: Build (Darwin)
24
+ run: GOOS=darwin make build
25
+ - name: Lint
26
+ run: make lint
27
+ - name: Test
28
+ run: make coverage
0 commit comments