Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,27 +178,12 @@ jobs:
sudo ln -sf "${llvm_lib}" /usr/local/bin/llvm-lib

- name: Run just lint
# The ATM runner remains parallel and keep-going; `ci all` adds the
# Windows-target Clippy step on non-Windows hosts (a Windows host's
# native Clippy already targets x86_64-pc-windows-msvc).
# The kit runs the `ci` lint profile from sc-lint.toml in parallel and
# keep-going, printing every failed step's output; `all` adds the
# Linux-tagged Windows-target Clippy step (a Windows host's native
# Clippy already targets x86_64-pc-windows-msvc).
run: just lint ci all

- name: Show clippy diagnostics on lint failure
if: failure()
shell: bash
run: |
clippy_log="$(ls -t .just/logs/*-clippy.log 2>/dev/null | head -n 1)"
test -n "$clippy_log"
cat "$clippy_log"

- name: Upload lint logs on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: just-lint-logs-${{ matrix.os }}
path: .just/logs/**
retention-days: 7

- name: Run cargo audit
run: cargo audit

Expand Down
63 changes: 0 additions & 63 deletions .just/lint_cargo_deny.py

This file was deleted.

4 changes: 2 additions & 2 deletions .just/print_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
(
"Lint",
(
("lint", "Run all repo lint steps in parallel, serializing Cargo builds."),
("lint", "Run every sc-lint.toml lint step in parallel, keep-going (kit runner)."),
("lint fmt", "Run only the format check."),
("lint clippy", "Run only Clippy with warnings denied."),
("lint clippy-windows", "Run the Windows-target Clippy profile."),
("lint clippy-windows", "Run the Windows-target Clippy step (Linux hosts; skipped elsewhere)."),
("lint deny", "Run cargo-deny advisories/bans/source checks."),
("lint shear", "Run cargo-shear unused-dependency checks."),
("lint boundaries", "Run the crate/source boundary checks."),
Expand Down
Loading
Loading