Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Add cache step to test action
Browse files Browse the repository at this point in the history
  • Loading branch information
louy authored Sep 6, 2020
1 parent 3b49ebf commit 16c50df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.12

- name: Cache
uses: actions/[email protected]
with:
path: ./vendor
key: ${{ runner.os }}-${{ hashFiles('go.sum') }}

- name: Setup Code Climate test-reporter
run: |
Expand All @@ -32,6 +38,8 @@ jobs:
- name: Build
run: |
go build -v
envs:
GO111MODULE: 'on'
- name: Run acceptance tests
run: |
./cc-test-reporter before-build
Expand Down

0 comments on commit 16c50df

Please sign in to comment.