oxc/.github/workflows/cargo-llvm-lines.yml
Boshen 0970168a48
chore(deps): pin dependencies (#7837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-13 19:45:48 +08:00

28 lines
794 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@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: oxc-project/setup-rust@cd82e1efec7fef815e2c23d296756f31c7cdc03d # v1.0.0
- name: Install cargo-llvm-lines
uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8
with:
tool: cargo-llvm-lines
- name: Run
run: cargo llvm-lines -p oxc_parser | head -20 > $GITHUB_STEP_SUMMARY