Skip to content

Commit 03f6467

Browse files
committed
tools: Update tidy.sh and related config
1 parent c67ddf0 commit 03f6467

File tree

4 files changed

+89
-1127
lines changed

4 files changed

+89
-1127
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
version: 2
22
updates:
3-
- package-ecosystem: cargo # zizmor: ignore[dependabot-cooldown] # Unless dependencies are pinned/locked, the effect is limited.
3+
- package-ecosystem: cargo
44
directories:
55
- /
66
# crates with [workspace] table are not recognized by the above 'directory: /'
77
- /tests/fixtures/crates/trybuild
88
- /tests/fixtures/crates/ui_test
99
schedule:
10-
interval: daily
10+
interval: weekly
11+
cooldown:
12+
default-days: 14 # Note: Unless dependencies are pinned/locked, the effect is limited.
1113
commit-message:
1214
prefix: ''
1315
labels: []
1416
- package-ecosystem: github-actions
1517
directory: /
1618
schedule:
17-
interval: daily
19+
interval: weekly
1820
cooldown:
19-
default-days: 7
21+
default-days: 14
2022
commit-message:
2123
prefix: ''
2224
labels: []

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ jobs:
316316
cargo build
317317
cargo run -- 2
318318
cargo llvm-cov report --fail-under-lines 57
319-
shell: zsh {0}
319+
shell: zsh {0} # zizmor: ignore[misfeature] used for compatibility testing
320320
working-directory: tests/fixtures/crates/bin_crate
321321
if: matrix.os != 'windows-11-arm'
322322
- name: Test show-env --csh on csh
@@ -332,7 +332,7 @@ jobs:
332332
cargo build
333333
cargo run -- 2
334334
cargo llvm-cov report --fail-under-lines 57
335-
shell: bsd-csh {0}
335+
shell: bsd-csh {0} # zizmor: ignore[misfeature] used for compatibility testing
336336
working-directory: tests/fixtures/crates/bin_crate
337337
if: startsWith(matrix.os, 'ubuntu') || matrix.os == ''
338338
- name: Test show-env --csh on tcsh
@@ -349,7 +349,7 @@ jobs:
349349
cargo build
350350
cargo run -- 2
351351
cargo llvm-cov report --fail-under-lines 57
352-
shell: tcsh {0}
352+
shell: tcsh {0} # zizmor: ignore[misfeature] used for compatibility testing
353353
working-directory: tests/fixtures/crates/bin_crate
354354
if: matrix.os != 'windows-11-arm'
355355
- name: Test show-env --fish
@@ -365,15 +365,15 @@ jobs:
365365
cargo build
366366
cargo run -- 2
367367
cargo llvm-cov report --fail-under-lines 57
368-
shell: fish {0}
368+
shell: fish {0} # zizmor: ignore[misfeature] used for compatibility testing
369369
working-directory: tests/fixtures/crates/bin_crate
370370
if: matrix.os != 'windows-11-arm'
371371
# Split step and use absolute path to work around https://www.nushell.sh/book/thinking_in_nu.html#example-dynamically-generating-source
372372
- name: Test show-env --nu (generate env)
373373
run: |
374374
cargo llvm-cov show-env --nu | save -f /tmp/env.nu
375375
cat -- /tmp/env.nu
376-
shell: nu {0}
376+
shell: nu {0} # zizmor: ignore[misfeature] used for compatibility testing
377377
working-directory: tests/fixtures/crates/bin_crate
378378
if: (!startsWith(matrix.os, 'windows'))
379379
- name: Test show-env --nu
@@ -388,7 +388,7 @@ jobs:
388388
cargo build
389389
cargo run -- 2
390390
cargo llvm-cov report --fail-under-lines 57
391-
shell: nu {0}
391+
shell: nu {0} # zizmor: ignore[misfeature] used for compatibility testing
392392
working-directory: tests/fixtures/crates/bin_crate
393393
if: (!startsWith(matrix.os, 'windows'))
394394
- name: Test show-env --xonsh
@@ -404,7 +404,7 @@ jobs:
404404
cargo build
405405
cargo run -- 2
406406
cargo llvm-cov report --fail-under-lines 57
407-
shell: xonsh {0}
407+
shell: xonsh {0} # zizmor: ignore[misfeature] used for compatibility testing
408408
working-directory: tests/fixtures/crates/bin_crate
409409
if: (!startsWith(matrix.os, 'windows'))
410410

.github/zizmor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
rules:
55
anonymous-definition: { disable: true }
6+
dependabot-cooldown: { config: { days: 14 } }
67
unpinned-uses:
78
config:
89
policies:

0 commit comments

Comments
 (0)