mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
28 lines
794 B
YAML
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
|