mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-05-03 00:28:52 +00:00
Add options to skip caching of folders. (#154)
Add option to skip caching the Go package directory (~/go/pkg). Add option to skip caching the Go build directory (~/.cache/go-build). Update README to mention new options.
This commit is contained in:
parent
e1ae6cf354
commit
0dd30832fc
5 changed files with 63 additions and 4 deletions
|
|
@ -24,6 +24,14 @@ inputs:
|
|||
description: "if set to true then action uses pre-installed Go"
|
||||
default: false
|
||||
required: true
|
||||
skip-pkg-cache:
|
||||
description: "if set to true then the action don't cache or restore ~/go/pkg."
|
||||
default: false
|
||||
required: true
|
||||
skip-build-cache:
|
||||
description: "if set to true then the action don't cache or restore ~/.cache/go-build."
|
||||
default: false
|
||||
required: true
|
||||
runs:
|
||||
using: "node12"
|
||||
main: "dist/run/index.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue