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
48 changes: 0 additions & 48 deletions .github/workflows/external-types.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,13 @@ jobs:
env:
RUSTDOCFLAGS: "-D warnings"
run: cargo doc --no-deps --all-features --workspace

external-types:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- uses: x52dev/actions/cargo-workspace-check-external-types@8dc0274800321d780097bc9b3b1ffa9f8dfb1e8b
13 changes: 0 additions & 13 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ _list:
@just --list

toolchain := ""
external-types-toolchain := "nightly-2026-03-20"
# Format project
fmt:
just --unstable --fmt
Expand All @@ -22,18 +21,6 @@ check:
fd --hidden -e=toml --exec-batch taplo lint
cargo shear

[private]
workspace-crate-manifests:
@cargo metadata --no-deps --format-version=1 \
| jq -r '(.workspace_root + "/") as $root | .workspace_members as $members | .packages[] | select(.id as $id | $members | index($id)) | .manifest_path | ltrimstr($root)'

# Check crates are not leaking unexpected external types
check-external-types:
just workspace-crate-manifests \
| while IFS= read -r manifest; do \
cargo +{{ external-types-toolchain }} check-external-types --manifest-path "$manifest"; \
done

# Lint workspace with Clippy
clippy:
cargo {{ toolchain }} clippy --workspace --all-targets --all-features
Expand Down
Loading