-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 977 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Unit tests
on:
push:
branches:
- master
pull_request: { }
workflow_dispatch: { }
jobs:
tests:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Install dependencies
uses: borales/[email protected]
with:
cmd: install
-
name: Generate subgraph types
uses: borales/[email protected]
with:
cmd: codegen
-
name: Build subgraph
uses: borales/[email protected]
with:
cmd: build
-
name: Run docker
uses: addnab/docker-run-action@v3
with:
registry: gcr.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
image: belbix/subgraph:matchstick
options: -t --rm --mount type=bind,source=${{ github.workspace }},target=/matchstick
run: ../binary-linux-20