diff --git a/scripts/lint.js b/scripts/lint.js index 3a7e832c5e..a3e0c4d268 100644 --- a/scripts/lint.js +++ b/scripts/lint.js @@ -18,6 +18,8 @@ const YAMLLINT_VERSION = '1.35.1'; const ACTIONLINT_SHA256 = { linux_amd64: '8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8', + linux_arm64: + '325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6', darwin_amd64: '5b44c3bc2255115c9b69e30efc0fecdf498fdb63c5d58e17084fd5f16324c644', darwin_arm64: @@ -26,6 +28,8 @@ const ACTIONLINT_SHA256 = { const SHELLCHECK_SHA256 = { 'linux.x86_64': '8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198', + 'linux.aarch64': + '12b331c1d2db6b9eb13cfca64306b1b157a86eb69db83023e261eaa7e7c14588', 'darwin.x86_64': '3c89db4edcab7cf1c27bff178882e0f6f27f7afdf54e859fa041fca10febe4c6', 'darwin.aarch64': @@ -126,6 +130,12 @@ function getPlatformArch() { shellcheck: 'linux.x86_64', }; } + if (platform === 'linux' && arch === 'arm64') { + return { + actionlint: 'linux_arm64', + shellcheck: 'linux.aarch64', + }; + } if (platform === 'darwin' && arch === 'x64') { return { actionlint: 'darwin_amd64',