File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,25 +2,28 @@ name: Tests
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88
99jobs :
1010 build :
1111 runs-on : ubuntu-latest
1212 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