Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Engel Simulator 2020
Engel Simulator 2020
Commits
1a0c746e
Commit
1a0c746e
authored
Feb 24, 2021
by
Rahix
🦀
Browse files
Merge branch 'code-quality-v2' into 'master'
Only include relevant span info in the "hash" See merge request
!53
parents
5e54ef3a
c1e80e7a
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1a0c746e
...
...
@@ -67,7 +67,7 @@ clippy:
script
:
-
RUSTFLAGS=-Dwarnings wasm-pack build --dev
-
|
cargo clippy --message-format json | jq -s 'map(. | select(.reason == "compiler-message" and .message.code != null) | {description: .message.message, location: {path: .message.spans[0].file_name, lines: {begin: .message.spans[0].line_start}}, fingerprint: [.message.code, .message.
spans
, .message.
message
] | @base64, severity: "minor"})' >code-quality.json
cargo clippy --message-format json | jq -s 'map(. | select(.reason == "compiler-message" and .message.code != null) | {description: .message.message, location: {path: .message.spans[0].file_name, lines: {begin: .message.spans[0].line_start}}, fingerprint: [.message.code, .message.
message
,
(
.message.
spans | map([.file_name, .line_start, .line_end, .column_start, .column_end]))
] | @base64, severity: "minor"})' >code-quality.json
artifacts
:
reports
:
codequality
:
code-quality.json
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment