oxc/.github/workflows/cargo-llvm-lines.yml
Boshen 06a81409f1
ci: actions/checkout@v4 -> taiki-e/checkout-action@v1 (#2811)
This does not depend on node.js, and sets persist-credentials to false
2024-03-26 01:24:51 +08:00

29 lines
688 B
YAML

# Run `cargo-llvm-lines` for finding out bloat generic functions
name: Cargo LLVM Lines
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
bloat:
name: Cargo LLVM Lines
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: taiki-e/checkout-action@v1
- name: Install Rust Toolchain
uses: ./.github/actions/rustup
- name: Install cargo-llvm-lines
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-lines
- name: Run
run: cargo llvm-lines -p oxc_parser | head -20 > $GITHUB_STEP_SUMMARY