1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Code Quality
# Runs the qlty checks (actionlint, clippy, zizmor, trufflehog, ...) defined in
# .qlty/qlty.toml. This is intentionally NOT a required status check -- it
# surfaces quality/security findings without blocking merges.
#
# rustfmt is set to `mode = "monitor"` in qlty.toml so this job does NOT run the
# stable-rustfmt formatter, which would conflict with the repo's nightly-only
# `cargo +nightly fmt` source of truth.
on:
push:
branches:
pull_request:
permissions:
contents: read
jobs:
qlty:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
persist-credentials: false
- name: Install qlty CLI
run: |
curl -fsSL https://qlty.sh | bash
echo "$HOME/.qlty/bin" >> "$GITHUB_PATH"
# Informational (job is not a required check): surface findings without
# blocking merges while the qlty backlog (TODOs, smells) is triaged.
- name: Run qlty checks
run: qlty check --all --no-fix || true