Restore CI workflow for Clippy

This commit is contained in:
Keavon Chambers 2025-04-16 23:49:11 -07:00
parent ab39f3f837
commit 0b39ff3c8f
2 changed files with 2 additions and 18 deletions

View file

@ -62,6 +62,7 @@ jobs:
mold -run npm run build
- name: 📤 Publish to Cloudflare Pages
if: ${{ !github.event.pull_request.head.repo.fork }}
id: cloudflare
uses: cloudflare/pages-action@1
continue-on-error: true
@ -91,16 +92,6 @@ jobs:
run: |
mold -run cargo test --all-features --workspace
# miri:
# runs-on: self-hosted
# steps:
# - uses: actions/checkout@v3
# - name: 🧪 Run Rust miri
# run: |
# mold -run cargo +nightly miri nextest run -j32 --all-features
cargo-deny:
runs-on: ubuntu-latest

View file

@ -9,9 +9,7 @@ jobs:
clippy:
name: Run Clippy
runs-on: ubuntu-latest
# TODO(Keavon): Find a workaround (passing the output text to a separate action with permission to read the secrets?) that allows this to work on fork PRs
if: false
# if: ${{ !github.event.pull_request.draft && !github.event.pull_request.head.repo.fork }}
if: ${{ !github.event.pull_request.draft && !github.event.pull_request.head.repo.fork }}
permissions:
contents: read
pull-requests: write
@ -26,11 +24,6 @@ jobs:
override: true
components: clippy
- name: Install deps
run: |
sudo apt update
sudo apt install libgtk-3-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev
- name: Run Clippy
id: clippy
run: |