oxc/.github/workflows/cargo-llvm-lines.yml
Boshen 0726581f4f
chore(deps): update github-actions (#8409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 14:06:49 +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@df5dec2a2f73ff6dbace3072df1242669b7bb7d1 # v2.47.9
with:
tool: cargo-llvm-lines
- name: Run
run: cargo llvm-lines -p oxc_parser | head -20 > $GITHUB_STEP_SUMMARY