Merge pull request #88 from aminya/cppcheck [skip ci]

This commit is contained in:
Amin Yahyaabadi 2022-05-25 16:41:40 -07:00 committed by GitHub
commit 4b1ffd8f5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 128 additions and 203 deletions

View File

@ -24,7 +24,7 @@ jobs:
node:
- 14 # installed on the images
pnpm:
- 6
- 7
cache_reset_counter:
- 0
steps:

View File

@ -24,7 +24,6 @@ The package can be used locally or from CI services like GitHub Actions.
| coverage | gcovr, opencppcoverage, kcov |
| other | python, sevenzip |
`setup-cpp` automatically installs the dependencies above tools if needed for the selected tool (e.g., `python` is required for `conan`).
# Usage

2
dist/actions_python.4614aeb4.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/actions_python.4614aeb4.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -59,20 +59,20 @@
"caxa": "^2.1.0",
"cross-env": "7.0.3",
"cross-spawn": "^7.0.3",
"cspell": "^5.21.1",
"cspell": "^6.0.0",
"eslint": "^8.16.0",
"eslint-config-atomic": "^1.17.1",
"jest": "^28.1.0",
"loose-ts-check": "^1.2.0",
"npm-check-updates": "^13.0.1",
"npm-check-updates": "^13.0.3",
"npm-run-all2": "^5.0.2",
"parcel": "^2.5.0",
"parcel": "2.5.0",
"prettier": "2.6.2",
"prettier-config-atomic": "^3.0.9",
"shx": "0.3.4",
"terser-config-atomic": "^0.1.1",
"ts-jest": "^28.0.2",
"typescript": "^4.6.4"
"ts-jest": "^28.0.3",
"typescript": "^4.7.2"
},
"engines": {
"node": ">=12.x"

View File

@ -22,7 +22,7 @@ specifiers:
caxa: ^2.1.0
cross-env: 7.0.3
cross-spawn: ^7.0.3
cspell: ^5.21.1
cspell: ^6.0.0
escape-path-with-spaces: ^1.0.0
eslint: ^8.16.0
eslint-config-atomic: ^1.17.1
@ -31,10 +31,10 @@ specifiers:
loose-ts-check: ^1.2.0
mri: ^1.2.0
msvc-dev-cmd: github:aminya/msvc-dev-cmd#9f672c1
npm-check-updates: ^13.0.1
npm-check-updates: ^13.0.3
npm-run-all2: ^5.0.2
numerous: 1.0.3
parcel: ^2.5.0
parcel: 2.5.0
prettier: 2.6.2
prettier-config-atomic: ^3.0.9
semver: 7.3.7
@ -42,8 +42,8 @@ specifiers:
shx: 0.3.4
terser-config-atomic: ^0.1.1
time-delta: github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e
ts-jest: ^28.0.2
typescript: ^4.6.4
ts-jest: ^28.0.3
typescript: ^4.7.2
ubuntu-version: ^2.0.0
untildify: ^4.0.0
which: ^2.0.2
@ -75,20 +75,20 @@ devDependencies:
caxa: 2.1.0
cross-env: 7.0.3
cross-spawn: 7.0.3
cspell: 5.21.1
cspell: 6.0.0
eslint: 8.16.0
eslint-config-atomic: 1.17.1
jest: 28.1.0_@types+node@17.0.35
loose-ts-check: 1.2.0
npm-check-updates: 13.0.1
npm-check-updates: 13.0.3
npm-run-all2: 5.0.2
parcel: 2.5.0
prettier: 2.6.2
prettier-config-atomic: 3.0.9
shx: 0.3.4
terser-config-atomic: 0.1.1
ts-jest: 28.0.2_qy5m32hwmbz5mebulkdtchzcz4
typescript: 4.6.4
ts-jest: 28.0.3_7sa2e64agunq5kj4zcolhrnkbm
typescript: 4.7.2
packages:
@ -335,6 +335,21 @@ packages:
semver: 7.3.7
dev: true
/@babel/eslint-parser/7.18.2_3jmbb74oue544vtiil27ushva4:
resolution: {integrity: sha512-oFQYkE8SuH14+uR51JVAmdqwKYXGRjEXx7s+WiagVjqQ+HPE+nnwyF2qlVG8evUsUHmPcA+6YXMEDbIhEyQc5A==}
engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0}
peerDependencies:
'@babel/core': '>=7.11.0'
eslint: '*'
dependencies:
'@babel/core': 7.18.0
eslint: 8.16.0
eslint-scope: 5.1.1
eslint-visitor-keys: 2.1.0
semver: 7.3.7
dev: true
optional: true
/@babel/generator/7.18.0:
resolution: {integrity: sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==}
engines: {node: '>=6.9.0'}
@ -654,9 +669,9 @@ packages:
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
dev: true
/@cspell/cspell-bundled-dicts/5.21.1:
resolution: {integrity: sha512-onjtf+0RyIWzD9QRk6J8GnmebPQES/jKXi78n86KXmZcN8S8+CdYLu4heZQw1B264/0ny6H1i7IpFD6AoWINYA==}
engines: {node: '>=12.13.0'}
/@cspell/cspell-bundled-dicts/6.0.0:
resolution: {integrity: sha512-n6fr7V57og7Sp9Wb2K4W3ag3yvRR/hl0p1lSvA+AMnatDbYm8id/5YUlc+AdXlOb604i1fAmHLQ/1dNvm3PMMw==}
engines: {node: '>=14'}
dependencies:
'@cspell/dict-ada': 2.0.0
'@cspell/dict-aws': 2.0.0
@ -689,7 +704,7 @@ packages:
'@cspell/dict-php': 2.0.0
'@cspell/dict-powershell': 2.0.0
'@cspell/dict-public-licenses': 1.0.4
'@cspell/dict-python': 3.0.4
'@cspell/dict-python': 3.0.5
'@cspell/dict-r': 1.0.2
'@cspell/dict-ruby': 2.0.1
'@cspell/dict-rust': 2.0.0
@ -700,14 +715,14 @@ packages:
'@cspell/dict-vue': 2.0.2
dev: true
/@cspell/cspell-pipe/5.21.1:
resolution: {integrity: sha512-lld5NfLLOY6ChoU7gfbukzuOoaHhDocgj0fiNu39ayBs2Jb+7/nx6Ge0EMIa1AO51RwTS91NatWMsBxmt/hOlA==}
engines: {node: '>=12.13.0'}
/@cspell/cspell-pipe/6.0.0:
resolution: {integrity: sha512-oehpfj8tOoFep34uOCABdpsqisg37Htc+DjOu5pT1gtzozReSdahD5dQUKAp/ND/tttdE4SWQUMUVZq6cxvTvw==}
engines: {node: '>=14'}
dev: true
/@cspell/cspell-types/5.21.1:
resolution: {integrity: sha512-riib25imkr8+eAgzlpnAEshhYnxFuqDHprOhE2aYKjY7UBXdqD+a0ry3F21TffA+cX3ilQMyJ7P0jwHH4xn5vg==}
engines: {node: '>=12.13.0'}
/@cspell/cspell-types/6.0.0:
resolution: {integrity: sha512-N8wGQU+n64s3cIMC/5WJzo6UT/Jetxz6oSdOr0SksCHO84I6QR1ORwsXM3ej7x6490uoTM+cf11CSYrw6ma+bg==}
engines: {node: '>=14'}
dev: true
/@cspell/dict-ada/2.0.0:
@ -834,8 +849,8 @@ packages:
resolution: {integrity: sha512-h4xULfVEDUeWyvp1OO19pcGDqWcBEQ7WGMp3QBHyYpjsamlzsyYYjCRSY2ZvpM7wruDmywSRFmRHJ/+uNFT7nA==}
dev: true
/@cspell/dict-python/3.0.4:
resolution: {integrity: sha512-tQvHR7/Qccwqp3HybrfFvcc5a8Gp2kQ6aWn7o/hRUw47BmaX1njhThUHZJYm252Vss7OsiPKlHYBmF1mnpsiyw==}
/@cspell/dict-python/3.0.5:
resolution: {integrity: sha512-0BRxUndYQ2Iom9ZpN5DjUdF2E5fodw1Th/7rlhxxy45fYXUZmfXDvYoaQaymfHP0ZQhH56MCuOUNa/YMcYJtww==}
dev: true
/@cspell/dict-r/1.0.2:
@ -1282,8 +1297,6 @@ packages:
promise-retry: 2.0.1
semver: 7.3.7
which: 2.0.2
transitivePeerDependencies:
- bluebird
dev: true
/@npmcli/installed-package-contents/1.0.7:
@ -1324,7 +1337,6 @@ packages:
node-gyp: 9.0.0
read-package-json-fast: 2.0.3
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@ -2299,7 +2311,7 @@ packages:
'@types/yargs-parser': 21.0.0
dev: true
/@typescript-eslint/eslint-plugin/5.25.0_jorowkvdqu6pwramweg5le7ncu:
/@typescript-eslint/eslint-plugin/5.25.0_s2zfktkcpovcmkacjael56ddti:
resolution: {integrity: sha512-icYrFnUzvm+LhW0QeJNKkezBu6tJs9p/53dpPLFH8zoM9w1tfaKzVurkPotEpAqQ8Vf8uaFyL5jHd0Vs6Z0ZQg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -2310,23 +2322,23 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/parser': 5.25.0_utdtartgf6fqqgkivzeynh76la
'@typescript-eslint/parser': 5.25.0_xztl6dhthcahlo6akmb2bmjmle
'@typescript-eslint/scope-manager': 5.25.0
'@typescript-eslint/type-utils': 5.25.0_utdtartgf6fqqgkivzeynh76la
'@typescript-eslint/utils': 5.25.0_utdtartgf6fqqgkivzeynh76la
'@typescript-eslint/type-utils': 5.25.0_xztl6dhthcahlo6akmb2bmjmle
'@typescript-eslint/utils': 5.25.0_xztl6dhthcahlo6akmb2bmjmle
debug: 4.3.4
eslint: 8.16.0
functional-red-black-tree: 1.0.1
ignore: 5.2.0
regexpp: 3.2.0
semver: 7.3.7
tsutils: 3.21.0_typescript@4.6.4
typescript: 4.6.4
tsutils: 3.21.0_typescript@4.7.2
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/parser/5.25.0_utdtartgf6fqqgkivzeynh76la:
/@typescript-eslint/parser/5.25.0_xztl6dhthcahlo6akmb2bmjmle:
resolution: {integrity: sha512-r3hwrOWYbNKP1nTcIw/aZoH+8bBnh/Lh1iDHoFpyG4DnCpvEdctrSl6LOo19fZbzypjQMHdajolxs6VpYoChgA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -2338,10 +2350,10 @@ packages:
dependencies:
'@typescript-eslint/scope-manager': 5.25.0
'@typescript-eslint/types': 5.25.0
'@typescript-eslint/typescript-estree': 5.25.0_typescript@4.6.4
'@typescript-eslint/typescript-estree': 5.25.0_typescript@4.7.2
debug: 4.3.4
eslint: 8.16.0
typescript: 4.6.4
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: true
@ -2354,7 +2366,7 @@ packages:
'@typescript-eslint/visitor-keys': 5.25.0
dev: true
/@typescript-eslint/type-utils/5.25.0_utdtartgf6fqqgkivzeynh76la:
/@typescript-eslint/type-utils/5.25.0_xztl6dhthcahlo6akmb2bmjmle:
resolution: {integrity: sha512-B6nb3GK3Gv1Rsb2pqalebe/RyQoyG/WDy9yhj8EE0Ikds4Xa8RR28nHz+wlt4tMZk5bnAr0f3oC8TuDAd5CPrw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -2364,11 +2376,11 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/utils': 5.25.0_utdtartgf6fqqgkivzeynh76la
'@typescript-eslint/utils': 5.25.0_xztl6dhthcahlo6akmb2bmjmle
debug: 4.3.4
eslint: 8.16.0
tsutils: 3.21.0_typescript@4.6.4
typescript: 4.6.4
tsutils: 3.21.0_typescript@4.7.2
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: true
@ -2378,7 +2390,7 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
/@typescript-eslint/typescript-estree/5.25.0_typescript@4.6.4:
/@typescript-eslint/typescript-estree/5.25.0_typescript@4.7.2:
resolution: {integrity: sha512-MrPODKDych/oWs/71LCnuO7NyR681HuBly2uLnX3r5i4ME7q/yBqC4hW33kmxtuauLTM0OuBOhhkFaxCCOjEEw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -2393,13 +2405,13 @@ packages:
globby: 11.1.0
is-glob: 4.0.3
semver: 7.3.7
tsutils: 3.21.0_typescript@4.6.4
typescript: 4.6.4
tsutils: 3.21.0_typescript@4.7.2
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/utils/5.25.0_utdtartgf6fqqgkivzeynh76la:
/@typescript-eslint/utils/5.25.0_xztl6dhthcahlo6akmb2bmjmle:
resolution: {integrity: sha512-qNC9bhnz/n9Kba3yI6HQgQdBLuxDoMgdjzdhSInZh6NaDnFpTUlwNGxplUFWfY260Ya0TRPvkg9dd57qxrJI9g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -2408,7 +2420,7 @@ packages:
'@types/json-schema': 7.0.11
'@typescript-eslint/scope-manager': 5.25.0
'@typescript-eslint/types': 5.25.0
'@typescript-eslint/typescript-estree': 5.25.0_typescript@4.6.4
'@typescript-eslint/typescript-estree': 5.25.0_typescript@4.7.2
eslint: 8.16.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.16.0
@ -2880,8 +2892,6 @@ packages:
ssri: 9.0.1
tar: 6.1.11
unique-filename: 1.1.1
transitivePeerDependencies:
- bluebird
dev: true
/cacheable-request/6.1.0:
@ -3241,41 +3251,41 @@ packages:
type-fest: 0.8.1
dev: true
/cspell-gitignore/5.21.1:
resolution: {integrity: sha512-PFTGjUegbCsH0db6+4+xFO/U68ghXNwPDzJRuJnxkwy9XlExcwz22eDisUwyO0fG4nbLJgfQoAuAXzT8LW3MDw==}
engines: {node: '>=12.13.0'}
/cspell-gitignore/6.0.0:
resolution: {integrity: sha512-VngxI9wdb72CWElxGNJQ24MmEewhXNCEkW2Bx5AMOM/vgmuim8JlslEGYWCdN0XqJ4OtOVzIZ2muMV9/Oy5AvQ==}
engines: {node: '>=14'}
hasBin: true
dependencies:
cspell-glob: 5.21.1
cspell-glob: 6.0.0
find-up: 5.0.0
dev: true
/cspell-glob/5.21.1:
resolution: {integrity: sha512-899cZOCZqB+EKmSV8Ie4ifWflrJ3noRhyCVVRg5Qn00obEFGfF4ZKwsPM3MbBHMvaaUF6oNt+SQPl4qyvCMsZg==}
engines: {node: '>=12.13.0'}
/cspell-glob/6.0.0:
resolution: {integrity: sha512-H0FiYJm5Zv+HzJseRdNwHQMeJBNC8JqAzBw+5dS78RHzDyU8P3XeFEhUEy2baS2od2zxIRPLvL0/8fBXEzxPhQ==}
engines: {node: '>=14'}
dependencies:
micromatch: 4.0.5
dev: true
/cspell-io/5.21.1:
resolution: {integrity: sha512-hFd3KX00XjvsAqD3rzrOB3kRohnYhZKsqJupQAefSyxaakV5umtnGKJDviQ9IbDXbIIxuaFtMcnNJFG71uVeMw==}
engines: {node: '>=12.13.0'}
/cspell-io/6.0.0:
resolution: {integrity: sha512-pqrBrb7zW7cIopJ1P+LgHflU1bBg2f1SPmThU+Q8jWPshE3twYfdhwsAy13X/92vZFZa2+qZS4ejSpEC6SO9SQ==}
engines: {node: '>=14'}
dev: true
/cspell-lib/5.21.1:
resolution: {integrity: sha512-SGGcbAB7GYIrevGtapXo1qpj+Q2gEGw0yNI5KTCG+X5zC3Au28rXQj2dXwd66+xrln2dzcZOQofUhLRq8NsmwA==}
engines: {node: '>=12.13.0'}
/cspell-lib/6.0.0:
resolution: {integrity: sha512-NuPOO0SPckmRCJy3jWrXc7yVfVFrFM9H/rVWBHK1Z8lPFvAD9Y+/q/+Buw7eYIxpAgX3x/t7HU/Xscf0xIQqsQ==}
engines: {node: '>=14'}
dependencies:
'@cspell/cspell-bundled-dicts': 5.21.1
'@cspell/cspell-pipe': 5.21.1
'@cspell/cspell-types': 5.21.1
'@cspell/cspell-bundled-dicts': 6.0.0
'@cspell/cspell-pipe': 6.0.0
'@cspell/cspell-types': 6.0.0
clear-module: 4.1.2
comment-json: 4.2.2
configstore: 5.0.1
cosmiconfig: 7.0.1
cspell-glob: 5.21.1
cspell-io: 5.21.1
cspell-trie-lib: 5.21.1
cspell-glob: 6.0.0
cspell-io: 6.0.0
cspell-trie-lib: 6.0.0
fast-equals: 3.0.2
find-up: 5.0.0
fs-extra: 10.1.0
@ -3287,26 +3297,26 @@ packages:
vscode-uri: 3.0.3
dev: true
/cspell-trie-lib/5.21.1:
resolution: {integrity: sha512-osML1bqwXzUZrKogaAcwlh1pt0IWe/VBAIRgldwHlXcQFA/2dibEvfe9lnX3lbGqQRDI9WhuVXp4xmD70R7JSw==}
engines: {node: '>=12.13.0'}
/cspell-trie-lib/6.0.0:
resolution: {integrity: sha512-vrYgxw9pohpoZxZ6AYtTNmx4RcDfCIw1v2s2BpDmLcs0t3Js333YLqjd/B78OHIYjEBcGQgLO9Xl0O32dHXbdA==}
engines: {node: '>=14'}
dependencies:
'@cspell/cspell-pipe': 5.21.1
'@cspell/cspell-pipe': 6.0.0
fs-extra: 10.1.0
gensequence: 3.1.1
dev: true
/cspell/5.21.1:
resolution: {integrity: sha512-R5I3QwohSkhclfZSCMvTbGb9zZHyZRno4pnUtEN5cVkUXfHHg751rZwO+zUwQcG7mLGHwU6iBNs5kAgH0UxISw==}
engines: {node: '>=12.13.0'}
/cspell/6.0.0:
resolution: {integrity: sha512-skfNomVlYXGOe4C9wz0O/B8VlZc9GzpW5QDFHaRMYwWEtuyitN5WevuPMc9bkWbVKV8ghn1sXehBzy85V5PXIQ==}
engines: {node: '>=14'}
hasBin: true
dependencies:
'@cspell/cspell-pipe': 5.21.1
'@cspell/cspell-pipe': 6.0.0
chalk: 4.1.2
commander: 9.2.0
cspell-gitignore: 5.21.1
cspell-glob: 5.21.1
cspell-lib: 5.21.1
cspell-gitignore: 6.0.0
cspell-glob: 6.0.0
cspell-lib: 6.0.0
fast-json-stable-stringify: 2.1.0
file-entry-cache: 6.0.1
fs-extra: 10.1.0
@ -3359,22 +3369,12 @@ packages:
/debug/2.6.9:
resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}
peerDependencies:
supports-color: '*'
peerDependenciesMeta:
supports-color:
optional: true
dependencies:
ms: 2.0.0
dev: true
/debug/3.2.7:
resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}
peerDependencies:
supports-color: '*'
peerDependenciesMeta:
supports-color:
optional: true
dependencies:
ms: 2.1.3
dev: true
@ -3718,7 +3718,7 @@ packages:
dependencies:
confusing-browser-globals: 1.0.11
eslint: 8.16.0
eslint-plugin-import: 2.26.0_fpv4l7j2iomztwskn7bai2v6a4
eslint-plugin-import: 2.26.0_eslint@8.16.0
object.assign: 4.1.2
object.entries: 1.1.5
dev: true
@ -3736,7 +3736,7 @@ packages:
dependencies:
eslint: 8.16.0
eslint-config-airbnb-base: 14.2.1_btspkuwbqkl4adpiufzbathtpi
eslint-plugin-import: 2.26.0_fpv4l7j2iomztwskn7bai2v6a4
eslint-plugin-import: 2.26.0_eslint@8.16.0
eslint-plugin-jsx-a11y: 6.5.1_eslint@8.16.0
eslint-plugin-react: 7.23.2_eslint@8.16.0
eslint-plugin-react-hooks: 4.5.0_eslint@8.16.0
@ -3752,12 +3752,12 @@ packages:
'@babel/eslint-parser': 7.17.0_3jmbb74oue544vtiil27ushva4
'@babel/plugin-syntax-flow': 7.17.12_@babel+core@7.18.0
'@babel/plugin-syntax-jsx': 7.17.12_@babel+core@7.18.0
'@typescript-eslint/eslint-plugin': 5.25.0_jorowkvdqu6pwramweg5le7ncu
'@typescript-eslint/parser': 5.25.0_utdtartgf6fqqgkivzeynh76la
'@typescript-eslint/eslint-plugin': 5.25.0_s2zfktkcpovcmkacjael56ddti
'@typescript-eslint/parser': 5.25.0_xztl6dhthcahlo6akmb2bmjmle
eslint: 8.16.0
eslint-config-prettier: 8.5.0_eslint@8.16.0
eslint-plugin-html: 6.2.0
eslint-plugin-import: 2.26.0_fpv4l7j2iomztwskn7bai2v6a4
eslint-plugin-import: 2.26.0_eslint@8.16.0
eslint-plugin-json: 3.1.0
eslint-plugin-node: 11.1.0_eslint@8.16.0
eslint-plugin-only-warn: /@aminya/eslint-plugin-only-warn/1.2.2
@ -3766,14 +3766,12 @@ packages:
eslint-plugin-yaml: 0.5.0
prettier: 2.6.2
read-pkg-up: 7.0.1
typescript: 4.6.4
typescript: 4.7.2
optionalDependencies:
coffeescript: 1.12.7
eslint-plugin-coffee: 0.1.15_uhnx5e5cfibltyxz6wcjxr2vju
eslint-plugin-coffee: 0.1.15_s2ui4dvomfmydk2hsdgl3devcu
eslint-plugin-react-hooks: 4.5.0_eslint@8.16.0
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- supports-color
dev: true
@ -3791,51 +3789,31 @@ packages:
dependencies:
debug: 3.2.7
resolve: 1.22.0
transitivePeerDependencies:
- supports-color
dev: true
/eslint-module-utils/2.7.3_mcjqbk7r2nrqjiufidliyvmmpu:
/eslint-module-utils/2.7.3:
resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==}
engines: {node: '>=4'}
peerDependencies:
'@typescript-eslint/parser': '*'
eslint-import-resolver-node: '*'
eslint-import-resolver-typescript: '*'
eslint-import-resolver-webpack: '*'
peerDependenciesMeta:
'@typescript-eslint/parser':
optional: true
eslint-import-resolver-node:
optional: true
eslint-import-resolver-typescript:
optional: true
eslint-import-resolver-webpack:
optional: true
dependencies:
'@typescript-eslint/parser': 5.25.0_utdtartgf6fqqgkivzeynh76la
debug: 3.2.7
eslint-import-resolver-node: 0.3.6
find-up: 2.1.0
transitivePeerDependencies:
- supports-color
dev: true
/eslint-plugin-coffee/0.1.15_uhnx5e5cfibltyxz6wcjxr2vju:
/eslint-plugin-coffee/0.1.15_s2ui4dvomfmydk2hsdgl3devcu:
resolution: {integrity: sha512-+qtkIPSc9etYqOODIlENqiRjID/oEoGMAAQJN988Aczy461NIwzaamFY6Fi0QDVVDb2v+OL/StVrk/QmyItfeg==}
requiresBuild: true
peerDependencies:
eslint: '*'
dependencies:
axe-core: 3.5.6
babel-eslint: /@babel/eslint-parser/7.17.0_3jmbb74oue544vtiil27ushva4
babel-eslint: /@babel/eslint-parser/7.18.2_3jmbb74oue544vtiil27ushva4
babylon: 7.0.0-beta.47
coffeescript: 2.7.0
doctrine: 2.1.0
eslint: 8.16.0
eslint-config-airbnb: 18.2.1_643gm7xxs5uehgeeygogf52qga
eslint-config-airbnb-base: 14.2.1_btspkuwbqkl4adpiufzbathtpi
eslint-plugin-import: 2.26.0_fpv4l7j2iomztwskn7bai2v6a4
eslint-plugin-import: 2.26.0_eslint@8.16.0
eslint-plugin-jsx-a11y: 6.5.1_eslint@8.16.0
eslint-plugin-react: 7.23.2_eslint@8.16.0
eslint-plugin-react-native: 3.11.0_eslint@8.16.0
@ -3846,9 +3824,6 @@ packages:
lodash: 4.17.21
transitivePeerDependencies:
- '@babel/core'
- '@typescript-eslint/parser'
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- eslint-plugin-react-hooks
- supports-color
dev: true
@ -3871,24 +3846,19 @@ packages:
htmlparser2: 7.2.0
dev: true
/eslint-plugin-import/2.26.0_fpv4l7j2iomztwskn7bai2v6a4:
/eslint-plugin-import/2.26.0_eslint@8.16.0:
resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==}
engines: {node: '>=4'}
peerDependencies:
'@typescript-eslint/parser': '*'
eslint: '*'
peerDependenciesMeta:
'@typescript-eslint/parser':
optional: true
dependencies:
'@typescript-eslint/parser': 5.25.0_utdtartgf6fqqgkivzeynh76la
array-includes: 3.1.5
array.prototype.flat: 1.3.0
debug: 2.6.9
doctrine: 2.1.0
eslint: 8.16.0
eslint-import-resolver-node: 0.3.6
eslint-module-utils: 2.7.3_mcjqbk7r2nrqjiufidliyvmmpu
eslint-module-utils: 2.7.3
has: 1.0.3
is-core-module: 2.9.0
is-glob: 4.0.3
@ -3896,10 +3866,6 @@ packages:
object.values: 1.1.5
resolve: 1.22.0
tsconfig-paths: 3.14.1
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- supports-color
dev: true
/eslint-plugin-json/3.1.0:
@ -4286,10 +4252,6 @@ packages:
bser: 2.1.1
dev: true
/figgy-pudding/3.5.2:
resolution: {integrity: sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==}
dev: true
/file-entry-cache/6.0.1:
resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}
engines: {node: ^10.12.0 || >=12.0.0}
@ -4311,13 +4273,6 @@ packages:
locate-path: 2.0.0
dev: true
/find-up/3.0.0:
resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==}
engines: {node: '>=6'}
dependencies:
locate-path: 3.0.0
dev: true
/find-up/4.1.0:
resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
engines: {node: '>=8'}
@ -5726,15 +5681,6 @@ packages:
type-check: 0.4.0
dev: true
/libnpmconfig/1.2.1:
resolution: {integrity: sha512-9esX8rTQAHqarx6qeZqmGQKBNZR5OIbl/Ayr0qQDy3oXja2iFVQQI81R6GZ2a02bSNZ9p3YOGX1O6HHCb1X7kA==}
deprecated: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config
dependencies:
figgy-pudding: 3.5.2
find-up: 3.0.0
ini: 1.3.8
dev: true
/lines-and-columns/1.2.4:
resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
dev: true
@ -5758,14 +5704,6 @@ packages:
path-exists: 3.0.0
dev: true
/locate-path/3.0.0:
resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==}
engines: {node: '>=6'}
dependencies:
p-locate: 3.0.0
path-exists: 3.0.0
dev: true
/locate-path/5.0.0:
resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
engines: {node: '>=8'}
@ -5877,7 +5815,6 @@ packages:
socks-proxy-agent: 6.2.0
ssri: 9.0.1
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@ -6314,7 +6251,6 @@ packages:
tar: 6.1.11
which: 2.0.2
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@ -6369,8 +6305,8 @@ packages:
npm-normalize-package-bin: 1.0.1
dev: true
/npm-check-updates/13.0.1:
resolution: {integrity: sha512-DU0/pDWrc4kTgc9V5MtM7RPoUrMBfDzSxcCBt+hJjSyxQ47ULrjWhVwpNpUmHCAUfHYdzwYKGW/Z65/vKwWNag==}
/npm-check-updates/13.0.3:
resolution: {integrity: sha512-a8CVklJjXZhmN5Kup8rKiejArobCbOaMnubhvM/LkYVumO17dBuWuaHUuiSrYglQUb88lGSdbNNfHDNN7b+3pQ==}
engines: {node: '>=14'}
hasBin: true
dependencies:
@ -6386,7 +6322,6 @@ packages:
hosted-git-info: 5.0.0
json-parse-helpfulerror: 1.0.3
jsonlines: 0.1.1
libnpmconfig: 1.2.1
lodash: 4.17.21
minimatch: 5.1.0
p-map: 4.0.0
@ -6404,7 +6339,6 @@ packages:
update-notifier: 5.1.0
yaml: 2.1.0
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@ -6431,6 +6365,7 @@ packages:
/npm-packlist/5.0.4:
resolution: {integrity: sha512-G4sCWzzHokHC5oxGD46Q9vCe+eN2tFb+3RfADD/eZbx4nKa7Y1eku1xvIWrw5R3F3hWX7IM2BgdqbQsyBUa3IA==}
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
deprecated: this version was incorrectly released as a patch, use 5.1.0 instead
hasBin: true
dependencies:
glob: 8.0.3
@ -6461,7 +6396,6 @@ packages:
npm-package-arg: 9.0.2
proc-log: 2.0.1
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@ -6628,13 +6562,6 @@ packages:
p-limit: 1.3.0
dev: true
/p-locate/3.0.0:
resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==}
engines: {node: '>=6'}
dependencies:
p-limit: 2.3.0
dev: true
/p-locate/4.1.0:
resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==}
engines: {node: '>=8'}
@ -6703,7 +6630,6 @@ packages:
ssri: 9.0.1
tar: 6.1.11
transitivePeerDependencies:
- bluebird
- supports-color
dev: true
@ -6711,9 +6637,6 @@ packages:
resolution: {integrity: sha512-er0mj/BaMjWyzQ/jedLUi/LNAuQcFT8lCvoNqANF+jTaX9rohaBwxIvKVJVAZgyCnmyfbbldp496wPMW0R0+CA==}
engines: {node: '>= 12.0.0'}
hasBin: true
peerDependenciesMeta:
'@parcel/core':
optional: true
dependencies:
'@parcel/config-default': 2.5.0_@parcel+core@2.5.0
'@parcel/core': 2.5.0
@ -6947,11 +6870,6 @@ packages:
/promise-inflight/1.0.1:
resolution: {integrity: sha1-mEcocL8igTL8vdhoEputEsPAKeM=}
peerDependencies:
bluebird: '*'
peerDependenciesMeta:
bluebird:
optional: true
dev: true
/promise-retry/2.0.1:
@ -7735,8 +7653,8 @@ packages:
punycode: 2.1.1
dev: true
/ts-jest/28.0.2_qy5m32hwmbz5mebulkdtchzcz4:
resolution: {integrity: sha512-IOZMb3D0gx6IHO9ywPgiQxJ3Zl4ECylEFwoVpENB55aTn5sdO0Ptyx/7noNBxAaUff708RqQL4XBNxxOVjY0vQ==}
/ts-jest/28.0.3_7sa2e64agunq5kj4zcolhrnkbm:
resolution: {integrity: sha512-HzgbEDQ2KgVtDmpXToqAcKTyGHdHsG23i/iUjfxji92G5eT09S1m9UHZd7csF0Bfgh9txM4JzwHnv7r1waFPlw==}
engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0}
hasBin: true
peerDependencies:
@ -7765,7 +7683,7 @@ packages:
lodash.memoize: 4.1.2
make-error: 1.3.6
semver: 7.3.7
typescript: 4.6.4
typescript: 4.7.2
yargs-parser: 20.2.9
dev: true
@ -7784,14 +7702,14 @@ packages:
/tslib/2.4.0:
resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==}
/tsutils/3.21.0_typescript@4.6.4:
/tsutils/3.21.0_typescript@4.7.2:
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
engines: {node: '>= 6'}
peerDependencies:
typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
dependencies:
tslib: 1.14.1
typescript: 4.6.4
typescript: 4.7.2
dev: true
/tunnel/0.0.6:
@ -7837,8 +7755,8 @@ packages:
is-typedarray: 1.0.0
dev: true
/typescript/4.6.4:
resolution: {integrity: sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==}
/typescript/4.7.2:
resolution: {integrity: sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==}
engines: {node: '>=4.2.0'}
hasBin: true
dev: true

View File

@ -1,10 +1,11 @@
import { setupCppcheck } from "../cppcheck"
import { testBin } from "../../utils/tests/test-helpers"
import { getVersion } from "../../default_versions"
jest.setTimeout(300000)
describe("setup-cppcheck", () => {
it("should setup cppcheck", async () => {
const installInfo = await setupCppcheck("", "", process.arch)
const installInfo = await setupCppcheck(getVersion("cppcheck", undefined), "", process.arch)
await testBin("cppcheck", ["--version"], installInfo.binDir)
})

View File

@ -1,5 +1,8 @@
import { Inputs, Opts } from "./main"
// passing "" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.
// the directly downloaded tools require a given version ("" doesn't work).
const DefaultVersions: Record<string, string> = {
llvm: "13.0.0", // https://github.com/llvm/llvm-project/releases
clangtidy: "13.0.0",
@ -9,11 +12,12 @@ const DefaultVersions: Record<string, string> = {
gcovr: "5.1", // https://pypi.org/project/gcovr/
conan: "1.48.0", // https://github.com/conan-io/conan/releases
meson: "0.62.1", // https://github.com/mesonbuild/meson/releases
python: "3.8.10",
python: "3.8.10", // semver
kcov: "40", // https://github.com/SimonKagstrom/kcov/releases
task: "3.12.1", // https://github.com/go-task/task/releases
doxygen: process.platform === "darwin" ? "1.9.3" : "1.9.4", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen
gcc: "11", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc
cppcheck: process.platform === "win32" ? "2.7" : "",
}
/// If an ubuntu versions is not in this map:
@ -24,16 +28,19 @@ const DefaultUbuntuVersion: Record<string, Record<number, string>> = {
20: "13.0.0-ubuntu-20.04",
18: "13.0.1-ubuntu-18.04",
16: "13.0.0-ubuntu-16.04",
14: "13.0.0-ubuntu-16.04",
},
clangtidy: {
20: "13.0.0-ubuntu-20.04",
18: "13.0.1-ubuntu-18.04",
16: "13.0.0-ubuntu-16.04",
14: "13.0.0-ubuntu-16.04",
},
clangformat: {
20: "13.0.0-ubuntu-20.04",
18: "13.0.1-ubuntu-18.04",
16: "13.0.0-ubuntu-16.04",
14: "13.0.0-ubuntu-16.04",
},
gcovr: {
20: "5.1",