Skip to content

Commit

Permalink
Merge branch 'main' into refactor/move-vitest-rules-common-fn-to-vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
shulaoda authored Oct 4, 2024
2 parents 2b854b5 + 9736aa0 commit f43f389
Show file tree
Hide file tree
Showing 187 changed files with 6,110 additions and 3,701 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- run: git diff --exit-code # Must commit everything

test-windows:
if: false
name: Test (windows-latest)
runs-on: windows-latest
steps:
Expand Down Expand Up @@ -142,7 +143,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: crate-ci/typos@v1.24.5
- uses: crate-ci/typos@v1.25.0
with:
files: .

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ on:
pull_request:
types: [opened, synchronize]
paths:
- "crates/oxc_parser/**"
- "crates/oxc_allocator/**"
- "crates/oxc_data_structures/**"
- "crates/oxc_parser/**"
- "crates/oxc_traverse/**"
- ".github/workflows/miri.yml"
push:
branches:
- main
paths:
- "crates/oxc_parser/**"
- "crates/oxc_allocator/**"
- "crates/oxc_data_structures/**"
- "crates/oxc_parser/**"
- "crates/oxc_traverse/**"
- ".github/workflows/miri.yml"

concurrency:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/prepare_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,25 @@ jobs:
name: crates
secrets:
OXC_BOT_PAT: ${{ secrets.OXC_BOT_PAT }}

ecosystem-ci:
needs: prepare
name: Trigger Monitor Oxc
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1

- uses: peter-evans/create-or-update-comment@v4
id: comment
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ needs.prepare.outputs.pull-request-number }}
body: Triggering Monitor Oxc https://github.com/oxc-project/monitor-oxc/actions/workflows/ci.yml

- uses: benc-uk/workflow-dispatch@v1
with:
repo: oxc-project/monitor-oxc
workflow: ci.yml
token: ${{ secrets.OXC_BOT_PAT }}
ref: main
inputs: '{ "issue-number": "${{ needs.prepare.outputs.pull-request-number }}", "comment-id": "${{ steps.comment.outputs.comment-id }}" }'
76 changes: 38 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 29 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,27 +76,28 @@ doc_lazy_continuation = "allow" # FIXME

[workspace.dependencies]
# publish = true
oxc = { version = "0.30.4", path = "crates/oxc" }
oxc_allocator = { version = "0.30.4", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.30.4", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.30.4", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.30.4", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.30.4", path = "crates/oxc_codegen" }
oxc_diagnostics = { version = "0.30.4", path = "crates/oxc_diagnostics" }
oxc_index = { version = "0.30.4", path = "crates/oxc_index" }
oxc_isolated_declarations = { version = "0.30.4", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.30.4", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.30.4", path = "crates/oxc_minifier" }
oxc_module_lexer = { version = "0.30.4", path = "crates/oxc_module_lexer" }
oxc_parser = { version = "0.30.4", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.30.4", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.30.4", path = "crates/oxc_semantic" }
oxc_sourcemap = { version = "0.30.4", path = "crates/oxc_sourcemap" }
oxc_span = { version = "0.30.4", path = "crates/oxc_span" }
oxc_syntax = { version = "0.30.4", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.30.4", path = "napi/transform" }
oxc_transformer = { version = "0.30.4", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.30.4", path = "crates/oxc_traverse" }
oxc = { version = "0.30.5", path = "crates/oxc" }
oxc_allocator = { version = "0.30.5", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.30.5", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.30.5", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.30.5", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.30.5", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.30.5", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.30.5", path = "crates/oxc_diagnostics" }
oxc_index = { version = "0.30.5", path = "crates/oxc_index" }
oxc_isolated_declarations = { version = "0.30.5", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.30.5", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.30.5", path = "crates/oxc_minifier" }
oxc_module_lexer = { version = "0.30.5", path = "crates/oxc_module_lexer" }
oxc_parser = { version = "0.30.5", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.30.5", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.30.5", path = "crates/oxc_semantic" }
oxc_sourcemap = { version = "0.30.5", path = "crates/oxc_sourcemap" }
oxc_span = { version = "0.30.5", path = "crates/oxc_span" }
oxc_syntax = { version = "0.30.5", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.30.5", path = "napi/transform" }
oxc_transformer = { version = "0.30.5", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.30.5", path = "crates/oxc_traverse" }

# publish = false
oxc_linter = { path = "crates/oxc_linter" }
Expand Down Expand Up @@ -220,6 +221,13 @@ strip = "symbols" # Set to `false` for debug information
debug = false # Set to `true` for debug information
panic = "abort" # Let it crash and force ourselves to write safe Rust

# Profile used for release mode, but with debugging information for profiling
# and debugging. Use `cargo build --profile=release-with-debug` to build with this profile.
[profile.release-with-debug]
inherits = "release"
strip = false # Keep debug information in binary
debug = true # Include maximum amount of debug information

# Profile for `cargo coverage`
[profile.coverage]
inherits = "release"
Expand Down
Loading

0 comments on commit f43f389

Please sign in to comment.