mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
33 lines
783 B
YAML
33 lines
783 B
YAML
# Run `cargo-unused-features` for finding out unused features
|
|
# NOTE: this is broken for now, see https://github.com/TimonPost/cargo-unused-features/pull/10
|
|
|
|
name: Cargo Unused Features
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
CARGO_TERM_QUIET: true
|
|
|
|
jobs:
|
|
bloat:
|
|
name: Cargo Unused Features
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Rust Toolchain
|
|
uses: ./.github/actions/rustup
|
|
|
|
- name: Install cargo-unused-features
|
|
uses: taiki-e/install-action@v2
|
|
with:
|
|
tool: cargo-unused-features
|
|
|
|
- name: Run
|
|
run: unused-features analyze
|