mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-04-27 14:08:51 +00:00
fix: go.mod parsing (#1165)
This commit is contained in:
parent
051d919338
commit
ea34ee71d6
7 changed files with 1172 additions and 3 deletions
2
dist/post_run/index.js
generated
vendored
2
dist/post_run/index.js
generated
vendored
|
|
@ -94327,7 +94327,7 @@ const path_1 = __importDefault(__nccwpck_require__(6928));
|
|||
const install_1 = __nccwpck_require__(232);
|
||||
const versionRe = /^v(\d+)\.(\d+)(?:\.(\d+))?$/;
|
||||
// TODO(ldez): it should be updated to match v2 module name.
|
||||
const modVersionRe = /github.com\/golangci\/golangci-lint\s(v.+)/;
|
||||
const modVersionRe = /github.com\/golangci\/golangci-lint\s(v\S+)/;
|
||||
const parseVersion = (s) => {
|
||||
if (s == "latest" || s == "") {
|
||||
// TODO(ldez): it should be replaced with an explicit version (ex: v1.64.0)
|
||||
|
|
|
|||
2
dist/run/index.js
generated
vendored
2
dist/run/index.js
generated
vendored
|
|
@ -94327,7 +94327,7 @@ const path_1 = __importDefault(__nccwpck_require__(6928));
|
|||
const install_1 = __nccwpck_require__(232);
|
||||
const versionRe = /^v(\d+)\.(\d+)(?:\.(\d+))?$/;
|
||||
// TODO(ldez): it should be updated to match v2 module name.
|
||||
const modVersionRe = /github.com\/golangci\/golangci-lint\s(v.+)/;
|
||||
const modVersionRe = /github.com\/golangci\/golangci-lint\s(v\S+)/;
|
||||
const parseVersion = (s) => {
|
||||
if (s == "latest" || s == "") {
|
||||
// TODO(ldez): it should be replaced with an explicit version (ex: v1.64.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue