diff --git a/dist/index.js b/dist/index.js index b87a0c3..c7e308f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -165,7 +165,7 @@ module.exports = { "pip", "install", "--upgrade", - `cfn-lint==${version}`, + `cfn-lint[full]==${version}`, ]); // Symlink from separate directory so only CFN LINT CLI is added to PATH @@ -4332,4 +4332,4 @@ const setup = __nccwpck_require__(7391); module.exports = __webpack_exports__; /******/ })() -; +; \ No newline at end of file diff --git a/lib/utils/installCLI.js b/lib/utils/installCLI.js index 6ebc9fb..afbe571 100644 --- a/lib/utils/installCLI.js +++ b/lib/utils/installCLI.js @@ -37,7 +37,7 @@ module.exports = { "pip", "install", "--upgrade", - `cfn-lint==${version}`, + `cfn-lint[full]==${version}`, ]); // Symlink from separate directory so only CFN LINT CLI is added to PATH diff --git a/tests/setup.test.js b/tests/setup.test.js index 4c3f7cd..33cedff 100644 --- a/tests/setup.test.js +++ b/tests/setup.test.js @@ -58,7 +58,10 @@ test.each([ expect(io.which).toHaveBeenCalledWith(test.expected.python, true); expect(exec.exec).toHaveBeenCalledWith( expect.anything(), - expect.arrayContaining(["install", `cfn-lint==${test.expected.version}`]), + expect.arrayContaining([ + "install", + `cfn-lint[full]==${test.expected.version}`, + ]), ); expect(core.addPath).toHaveBeenCalledTimes(1); });