Skip to content

Commit

Permalink
Revert "Update fork"
Browse files Browse the repository at this point in the history
  • Loading branch information
a-rustacean committed Apr 7, 2024
1 parent b3c2411 commit f60cf86
Show file tree
Hide file tree
Showing 148 changed files with 8,211 additions and 7,056 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[alias]
# Do not append `--` or it will break IDEs
ck = "check --workspace --all-features --all-targets --locked"
ck = "check --workspace --all-targets --locked"
lint = "clippy --workspace --all-targets --all-features"
codecov = "llvm-cov --workspace --ignore-filename-regex tasks"
coverage = "run -p oxc_coverage --release --"
Expand Down
28 changes: 24 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: ./.github/actions/rustup
- uses: cargo-bins/cargo-binstall@main
- run: cargo binstall --no-confirm cargo-shear
- run: cargo shear

- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
src:
- 'Cargo.lock'
- '**/Cargo.toml'
- '.github/workflows/ci.yml'
- name: Install Rust Toolchain
if: steps.filter.outputs.src == 'true'
uses: ./.github/actions/rustup

- name: Install cargo-binstall
if: steps.filter.outputs.src == 'true'
uses: cargo-bins/cargo-binstall@main

- name: Install cargo-shear
if: steps.filter.outputs.src == 'true'
run: cargo binstall --no-confirm cargo-shear

- if: steps.filter.outputs.src == 'true'
run: cargo shear

format:
name: Format
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ecosystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
save-cache: ${{ github.ref_name == 'main' }}

- name: Build oxlint
run: cargo build --release -p oxc_cli --bin oxlint --features allocator
run: cargo build --release -p oxc_cli --bin oxlint

- name: Upload Binary
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:

- name: Build Binary
# strip debug symbols from std, see https://github.com/johnthagen/min-sized-rust#remove-panic-string-formatting-with-panic_immediate_abort
run: cargo build --release --target ${{ matrix.target }} -p oxc_cli --features allocator
run: cargo build --release --target ${{ matrix.target }} -p oxc_cli
env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_oxlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
run: rustup target add ${{ matrix.target }}

- name: Build with cross
run: cross build -p oxc_cli --bin oxlint --release --target=${{ matrix.target }} --features allocator
run: cross build -p oxc_cli --bin oxlint --release --target=${{ matrix.target }}

# The binary is zipped to fix permission loss https://github.com/actions/upload-artifact#permission-loss
- name: Archive Binary
Expand Down
2 changes: 0 additions & 2 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ extend-exclude = [
"crates/oxc_parser/src/lexer/byte_handlers.rs",
"crates/oxc_linter/fixtures",
"crates/oxc_linter/src/rules/jsx_a11y/img_redundant_alt.rs",
"crates/oxc_linter/src/rules/react/no_unknown_property.rs",
"crates/oxc_syntax/src/xml_entities.rs",
"**/*.snap",
"pnpm-lock.yaml",
"**/*/CHANGELOG.md",
]

[default.extend-words]
Expand Down
Loading

0 comments on commit f60cf86

Please sign in to comment.