@tahminator/pipeline 1.0.107 → 1.0.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -571,13 +571,16 @@ With `INSTALL_PNPM: "true"`, set `PNPM_CACHE: "true"` to cache the pnpm store. `
|
|
|
571
571
|
INSTALL_MIGRATE: "true"
|
|
572
572
|
```
|
|
573
573
|
|
|
574
|
-
`INSTALL_GOLANGCI_LINT: "true"` installs the [golangci-lint](https://golangci-lint.run) linux-amd64 release binary to `/usr/local/bin`. Pin the version with `GOLANGCI_LINT_VERSION` (default `2.15.0`, without the `v` prefix).
|
|
574
|
+
`INSTALL_GOLANGCI_LINT: "true"` installs the [golangci-lint](https://golangci-lint.run) linux-amd64 release binary to `/usr/local/bin`. Pin the version with `GOLANGCI_LINT_VERSION` (default `2.15.0`, without the `v` prefix). Set the optional `GOLANGCI_LINT_CACHE_KEY` to cache golangci-lint's analysis cache directory with `actions/cache`; `GOLANGCI_LINT_CACHE_RESTORE_KEYS` optionally supplies newline-separated fallback prefixes. Package loading still uses the Go build cache, so lint jobs can also set `GO_CACHE_KEY`.
|
|
575
575
|
|
|
576
576
|
```yaml
|
|
577
577
|
- uses: tahminator/pipeline/actions/setup@<version>
|
|
578
578
|
with:
|
|
579
579
|
INSTALL_GOLANGCI_LINT: "true"
|
|
580
580
|
GOLANGCI_LINT_VERSION: "2.15.0"
|
|
581
|
+
GOLANGCI_LINT_CACHE_KEY: ${{ runner.os }}-${{ runner.arch }}-golangci-lint-2.15.0-${{ github.sha }}
|
|
582
|
+
GOLANGCI_LINT_CACHE_RESTORE_KEYS: |
|
|
583
|
+
${{ runner.os }}-${{ runner.arch }}-golangci-lint-2.15.0-
|
|
581
584
|
```
|
|
582
585
|
|
|
583
586
|
### `NPMClient`
|