Skip to content

[lint] Add Cadence 1.0 analyzer with basic linting rules #696

[lint] Add Cadence 1.0 analyzer with basic linting rules

[lint] Add Cadence 1.0 analyzer with basic linting rules #696

Triggered via pull request February 8, 2024 17:58
Status Failure
Total duration 1m 5s
Artifacts

ci.yml

on: pull_request
Test (Test Framework)
0s
Test (Test Framework)
Test (Lint)
41s
Test (Lint)
Test (Language Server)
0s
Test (Language Server)
Test (Docgen)
0s
Test (Docgen)
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
Lint
Process completed with exit code 2.
Test (Lint)
unknown field Severity in struct literal of type analysis.Diagnostic
Test (Lint)
undefined: analysis.SeverityError
Test (Lint)
d.diagnostic.Code undefined (type analysis.Diagnostic has no field or method Code)
Test (Lint)
d.diagnostic.DocURL undefined (type analysis.Diagnostic has no field or method DocURL)
Test (Lint)
undefined: analysis.Severity
Test (Lint)
d.diagnostic.Severity undefined (type analysis.Diagnostic has no field or method Severity)
Test (Lint)
Process completed with exit code 2.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
paths-filter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (Lint)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (Lint)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/