mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-20 01:14:38 +00:00
Rebuild files in dist/
This commit is contained in:
parent
d93ab869ca
commit
455b21a117
2 changed files with 2 additions and 6 deletions
4
dist/post_run/index.js
vendored
4
dist/post_run/index.js
vendored
|
|
@ -66447,11 +66447,9 @@ const getIntervalKey = (invalidationIntervalDays) => {
|
||||||
function buildCacheKeys() {
|
function buildCacheKeys() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const keys = [];
|
const keys = [];
|
||||||
let cacheKey = `golangci-lint.cache-`;
|
|
||||||
keys.push(cacheKey);
|
|
||||||
// Periodically invalidate a cache because a new code being added.
|
// Periodically invalidate a cache because a new code being added.
|
||||||
// TODO: configure it via inputs.
|
// TODO: configure it via inputs.
|
||||||
cacheKey += `${getIntervalKey(7)}-`;
|
let cacheKey = `golangci-lint.cache-${getIntervalKey(7)}-`;
|
||||||
keys.push(cacheKey);
|
keys.push(cacheKey);
|
||||||
if (yield pathExists(`go.mod`)) {
|
if (yield pathExists(`go.mod`)) {
|
||||||
// Add checksum to key to invalidate a cache when dependencies change.
|
// Add checksum to key to invalidate a cache when dependencies change.
|
||||||
|
|
|
||||||
4
dist/run/index.js
vendored
4
dist/run/index.js
vendored
|
|
@ -66447,11 +66447,9 @@ const getIntervalKey = (invalidationIntervalDays) => {
|
||||||
function buildCacheKeys() {
|
function buildCacheKeys() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const keys = [];
|
const keys = [];
|
||||||
let cacheKey = `golangci-lint.cache-`;
|
|
||||||
keys.push(cacheKey);
|
|
||||||
// Periodically invalidate a cache because a new code being added.
|
// Periodically invalidate a cache because a new code being added.
|
||||||
// TODO: configure it via inputs.
|
// TODO: configure it via inputs.
|
||||||
cacheKey += `${getIntervalKey(7)}-`;
|
let cacheKey = `golangci-lint.cache-${getIntervalKey(7)}-`;
|
||||||
keys.push(cacheKey);
|
keys.push(cacheKey);
|
||||||
if (yield pathExists(`go.mod`)) {
|
if (yield pathExists(`go.mod`)) {
|
||||||
// Add checksum to key to invalidate a cache when dependencies change.
|
// Add checksum to key to invalidate a cache when dependencies change.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue