File tree Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,25 +2,28 @@ name: Tests
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main]
8
8
9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - name : Checkout
14
- uses : actions/checkout@v2
15
- - name : Cache go mod directories
16
- uses : actions/cache@v2
17
- with :
18
- path : ~/go/pkg/mod
19
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
20
- restore-keys : |
21
- ${{ runner.os }}-go-
22
- - name : Run Go tests
23
- run : go test ./...
24
- - name : Run Webapp tests
25
- run : yarn install && yarn run test
26
-
13
+ - name : Checkout
14
+ uses : actions/checkout@v2
15
+ - name : Cache go mod directories
16
+ uses : actions/cache@v2
17
+ with :
18
+ path : ~/go/pkg/mod
19
+ key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
20
+ restore-keys : |
21
+ ${{ runner.os }}-go-
22
+ - name : Run Go tests
23
+ run : go test ./...
24
+ - name : Install Webapp dependencies
25
+ run : yarn install
26
+ - name : Run Webapp tests
27
+ run : yarn run test
28
+ - name : Run Webapp lints
29
+ run : yarn lint
You can’t perform that action at this time.
0 commit comments