mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-20 09:24:39 +00:00
Run prettier
This commit is contained in:
parent
2d2273ad58
commit
9a4f36fa43
1 changed files with 2 additions and 4 deletions
|
|
@ -72,8 +72,7 @@ async function buildCacheKeys(): Promise<string[]> {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function restoreCache(): Promise<void> {
|
export async function restoreCache(): Promise<void> {
|
||||||
if (core.getInput(`skip-cache`, { required: true }).trim() == "true")
|
if (core.getInput(`skip-cache`, { required: true }).trim() == "true") return
|
||||||
return
|
|
||||||
|
|
||||||
if (!utils.isValidEvent()) {
|
if (!utils.isValidEvent()) {
|
||||||
utils.logWarning(
|
utils.logWarning(
|
||||||
|
|
@ -115,8 +114,7 @@ export async function restoreCache(): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function saveCache(): Promise<void> {
|
export async function saveCache(): Promise<void> {
|
||||||
if (core.getInput(`skip-cache`, { required: true }).trim() == "true")
|
if (core.getInput(`skip-cache`, { required: true }).trim() == "true") return
|
||||||
return
|
|
||||||
|
|
||||||
// Validate inputs, this can cause task failure
|
// Validate inputs, this can cause task failure
|
||||||
if (!utils.isValidEvent()) {
|
if (!utils.isValidEvent()) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue