mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 12:51:57 +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@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8
|
|
with:
|
|
tool: cargo-llvm-lines
|
|
|
|
- name: Run
|
|
run: cargo llvm-lines -p oxc_parser | head -20 > $GITHUB_STEP_SUMMARY
|