mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-15 15:16:30 +00:00
chore: generate
This commit is contained in:
parent
d6fb144355
commit
d8a26968c1
2 changed files with 8 additions and 8 deletions
8
dist/post_run/index.js
generated
vendored
8
dist/post_run/index.js
generated
vendored
|
|
@ -93208,7 +93208,7 @@ const modVersionRe = /github.com\/golangci\/golangci-lint\s(v\S+)/;
|
||||||
const parseVersion = (s) => {
|
const parseVersion = (s) => {
|
||||||
if (s == "latest" || s == "") {
|
if (s == "latest" || s == "") {
|
||||||
// TODO(ldez): v2: it should be replaced with "return null"
|
// TODO(ldez): v2: it should be replaced with "return null"
|
||||||
return { major: 1, minor: 64, patch: 7 };
|
return { major: 1, minor: 64, patch: 8 };
|
||||||
}
|
}
|
||||||
const match = s.match(versionRe);
|
const match = s.match(versionRe);
|
||||||
if (!match) {
|
if (!match) {
|
||||||
|
|
@ -93299,10 +93299,10 @@ async function getVersion(mode) {
|
||||||
const v = core.getInput(`version`);
|
const v = core.getInput(`version`);
|
||||||
// TODO(ldez): v2: to remove.
|
// TODO(ldez): v2: to remove.
|
||||||
if (v == "latest") {
|
if (v == "latest") {
|
||||||
return { TargetVersion: "v1.64.7" };
|
return { TargetVersion: "v1.64.8" };
|
||||||
}
|
}
|
||||||
// TODO(ldez): v2: "v1.64.7" should be replaced with "latest".
|
// TODO(ldez): v2: "v1.64.8" should be replaced with "latest".
|
||||||
return { TargetVersion: v ? v : "v1.64.7" };
|
return { TargetVersion: v ? v : "v1.64.8" };
|
||||||
}
|
}
|
||||||
const reqVersion = getRequestedVersion();
|
const reqVersion = getRequestedVersion();
|
||||||
// if the patched version is passed, just use it
|
// if the patched version is passed, just use it
|
||||||
|
|
|
||||||
8
dist/run/index.js
generated
vendored
8
dist/run/index.js
generated
vendored
|
|
@ -93208,7 +93208,7 @@ const modVersionRe = /github.com\/golangci\/golangci-lint\s(v\S+)/;
|
||||||
const parseVersion = (s) => {
|
const parseVersion = (s) => {
|
||||||
if (s == "latest" || s == "") {
|
if (s == "latest" || s == "") {
|
||||||
// TODO(ldez): v2: it should be replaced with "return null"
|
// TODO(ldez): v2: it should be replaced with "return null"
|
||||||
return { major: 1, minor: 64, patch: 7 };
|
return { major: 1, minor: 64, patch: 8 };
|
||||||
}
|
}
|
||||||
const match = s.match(versionRe);
|
const match = s.match(versionRe);
|
||||||
if (!match) {
|
if (!match) {
|
||||||
|
|
@ -93299,10 +93299,10 @@ async function getVersion(mode) {
|
||||||
const v = core.getInput(`version`);
|
const v = core.getInput(`version`);
|
||||||
// TODO(ldez): v2: to remove.
|
// TODO(ldez): v2: to remove.
|
||||||
if (v == "latest") {
|
if (v == "latest") {
|
||||||
return { TargetVersion: "v1.64.7" };
|
return { TargetVersion: "v1.64.8" };
|
||||||
}
|
}
|
||||||
// TODO(ldez): v2: "v1.64.7" should be replaced with "latest".
|
// TODO(ldez): v2: "v1.64.8" should be replaced with "latest".
|
||||||
return { TargetVersion: v ? v : "v1.64.7" };
|
return { TargetVersion: v ? v : "v1.64.8" };
|
||||||
}
|
}
|
||||||
const reqVersion = getRequestedVersion();
|
const reqVersion = getRequestedVersion();
|
||||||
// if the patched version is passed, just use it
|
// if the patched version is passed, just use it
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue