mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
56cd51f1d9
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [semgrep/semgrep](https://redirect.github.com/semgrep/semgrep-proprietary) | container | patch | `1.176.0` → `1.176.1` | `1.177.0` | | [taiki-e/install-action](https://redirect.github.com/taiki-e/install-action) | action | patch | `v2.87.4` → `v2.87.10` | `v2.87.12` (+1) | --- ### Release Notes <details> <summary>taiki-e/install-action (taiki-e/install-action)</summary> ### [`v2.87.10`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.87.10): 2.87.10 [Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.87.9...v2.87.10) - Update `zizmor@latest` to 1.30.1. - Update `uv@latest` to 0.12.11. - Update `tombi@latest` to 1.5.4. - Update `release-plz@latest` to 0.3.164. - Update `mise@latest` to 2026.9.3. - Update `kingfisher@latest` to 2.2.0. ### [`v2.87.9`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.87.9): 2.87.9 [Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.87.8...v2.87.9) - Update `oxfmt@latest` to 1.82.0. - Update `mise@latest` to 2026.9.2. - Update `kache@latest` to 0.18.0. - Update `d2@latest` to 0.9.0. - Update `bpf-linker@latest` to 0.11.1. ### [`v2.87.8`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.87.8): 2.87.8 [Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.87.7...v2.87.8) - Update `shfmt@latest` to 3.14.1. - Update `release-plz@latest` to 0.3.162. - Update `protoc-gen-connect-openapi@latest` to 0.26.0. - Update `dprint@latest` to 0.57.4. - Update `cargo-llvm-cov@latest` to 0.9.1. - Update `cargo-crap@latest` to 0.5.0. - Update `cargo-binstall@latest` to 1.23.0. ### [`v2.87.7`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.87.7): 2.87.7 [Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.87.6...v2.87.7) - Update `wasm-bindgen@latest` to 0.2.128. - Update `uv@latest` to 0.12.10. - Update `tombi@latest` to 1.5.2. - Update `rclone@latest` to 1.75.1. ### [`v2.87.6`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.87.6): 2.87.6 [Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.87.5...v2.87.6) - Update `rafn@latest` to 0.1.6. - Update `editorconfig-checker@latest` to 3.11.3. - Update `dprint@latest` to 0.57.1. - Update `convco@latest` to 0.7.2. ### [`v2.87.5`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.87.5): 2.87.5 [Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.87.4...v2.87.5) - Update `vacuum@latest` to 0.30.3. - Update `uv@latest` to 0.12.9. - Update `typos@latest` to 1.50.1. - Update `tombi@latest` to 1.5.1. - Update `release-plz@latest` to 0.3.161. - Update `prek@latest` to 0.5.2. - Update `oxfmt@latest` to 1.81.0. - Update `mise@latest` to 2026.9.1. - Update `martin@latest` to 1.15.0. - Update `git-cliff@latest` to 2.14.1. - Update `cargo-zigbuild@latest` to 0.23.4. - Update `cargo-deb@latest` to 3.8.0. - Update `biome@latest` to 2.5.12. </details> --- ### Configuration 📅 **Schedule**: (in timezone Asia/Shanghai) - Branch creation - "before 10am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC43OS4xIiwidXBkYXRlZEluVmVyIjoiNDQuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
85 lines
2.6 KiB
YAML
85 lines
2.6 KiB
YAML
# Run cargo-llvm-cov and upload to codecov.io
|
|
|
|
name: Code Coverage
|
|
|
|
permissions: {}
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "**.rs"
|
|
- ".github/workflows/codecov.yml"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
|
|
cancel-in-progress: ${{ github.ref_name != 'main' }}
|
|
|
|
jobs:
|
|
coverage:
|
|
if: github.repository == 'oxc-project/oxc'
|
|
name: Code Coverage
|
|
runs-on: namespace-profile-linux-x64-default
|
|
steps:
|
|
- name: Checkout
|
|
uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
|
|
|
- name: Clone submodules
|
|
uses: ./.github/actions/clone-submodules
|
|
|
|
- uses: namespacelabs/nscloud-cache-action@c5f8dab7560444c4bf8dbc64f1b203431873c547 # v1.6.1
|
|
with:
|
|
path: /home/runner/.rustup
|
|
cache: rust
|
|
|
|
- uses: oxc-project/setup-node@f46a72f95efdc55273fcd042d61c84e723b2892c # v1.4.1
|
|
|
|
- run: rustup component add llvm-tools-preview
|
|
- uses: taiki-e/install-action@fa23953489c080190314742a9b907f8e97c6767c # v2.87.10
|
|
with:
|
|
tool: cargo-llvm-cov
|
|
|
|
- name: Run
|
|
env:
|
|
# Increase stack size to 100MiB, avoid `oxc_formatter` from stack overflowing when printing long assignment expressions.
|
|
RUST_MIN_STACK: 104857600
|
|
# Limit concurrent compiler processes to avoid exhausting the 8GiB runner.
|
|
CARGO_BUILD_JOBS: 2
|
|
run: cargo codecov --lcov --output-path lcov.info
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
with:
|
|
if-no-files-found: error
|
|
name: codecov
|
|
path: lcov.info
|
|
|
|
# codecov often fails, use another workflow for retry
|
|
upload-codecov:
|
|
name: Upload coverage file
|
|
runs-on: ubuntu-slim
|
|
needs: coverage
|
|
# Check if the event is not triggered by a fork by checking whether CODECOV_TOKEN is set
|
|
env:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
steps:
|
|
- name: Checkout
|
|
if: env.CODECOV_TOKEN
|
|
uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
|
|
|
- name: Download coverage file
|
|
if: env.CODECOV_TOKEN
|
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
with:
|
|
name: codecov
|
|
|
|
- name: Upload to codecov.io
|
|
if: env.CODECOV_TOKEN
|
|
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
fail_ci_if_error: true
|
|
files: lcov.info
|