Skip to content

qual: Add pre-commit configuration & action #9

qual: Add pre-commit configuration & action

qual: Add pre-commit configuration & action #9

Triggered via pull request February 21, 2024 10:12
@mdeweerdmdeweerd
synchronize #97
pre-commit
Status Failure
Total duration 26s
Artifacts 1

pre-commit.yml

on: pull_request
pre-commit
17s
pre-commit
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
pre-commit
Process completed with exit code 1.
pre-commit: bash_unit#L225
randomise ==> randomize
pre-commit: bash_unit#L277
Formating ==> Formatting
pre-commit: bash_unit#L424
randomise ==> randomize
pre-commit: bash_unit#L436
randomise ==> randomize
pre-commit: bash_unit#L36
local message=${1:-} ^------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
pre-commit: bash_unit#L37
local stdout=${2:-} ^-----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
pre-commit: bash_unit#L38
local stderr=${3:-} ^-----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
pre-commit: bash_unit#L40
notify_test_failed "$__bash_unit_current_test__" "$message" ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-------------------------^ SC2154 (warning): __bash_unit_current_test__ is referenced but not assigned.
pre-commit: bash_unit#L41
[[ ! -z $stdout ]] && [ -s "$stdout" ] && notify_stdout < "$stdout" ^-----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-- SC2236 (style): Use -n instead of ! -z. ^---------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-----------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
pre-commit: bash_unit#L42
[[ ! -z $stderr ]] && [ -s "$stderr" ] && notify_stderr < "$stderr" ^-----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-- SC2236 (style): Use -n instead of ! -z. ^---------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-----------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
pre-commit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache/save@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pre-commit
Cache save failed.

Artifacts

Produced during runtime
Name Size
precommit-logs Expired
6.86 KB