Skip to content

Commit

Permalink
chore: add cache for staticcheck (#130)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Liu <jasonliu747@gmail.com>
  • Loading branch information
jasonliu747 committed May 10, 2022
1 parent 6200cdc commit c722334
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ jobs:
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-sc-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-sc-
- uses: dominikh/staticcheck-action@v1
with:
install-go: false
Expand Down

0 comments on commit c722334

Please sign in to comment.