Skip to content

Commit

Permalink
fix: update max version (#1201)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovic Fernandez authored and GitHub committed Mar 17, 2025
1 parent eb5c0cc commit 911ec56
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions dist/post_run/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/run/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const modVersionRe = /github.com\/golangci\/golangci-lint\s(v\S+)/
const parseVersion = (s: string): Version => {
if (s == "latest" || s == "") {
// 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)
Expand Down Expand Up @@ -142,11 +142,11 @@ export async function getVersion(mode: InstallMode): Promise<VersionInfo> {
const v: string = core.getInput(`version`)
// TODO(ldez): v2: to remove.
if (v == "latest") {
return { TargetVersion: "v1.64.7" }
return { TargetVersion: "v1.64.8" }
}

// TODO(ldez): v2: "v1.64.7" should be replaced with "latest".
return { TargetVersion: v ? v : "v1.64.7" }
// TODO(ldez): v2: "v1.64.8" should be replaced with "latest".
return { TargetVersion: v ? v : "v1.64.8" }
}

const reqVersion = getRequestedVersion()
Expand Down

0 comments on commit 911ec56

Please sign in to comment.