Skip to content

squash!

squash! #6

Workflow file for this run

name: Rust
concurrency:
group: Rust-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
security-events: write
on:
workflow_dispatch:
push:
branches: [Current]
pull_request:
branches: [Current]
workflow_call:
jobs:
Build:
runs-on: ubuntu-latest
env:
ADBLOCK: true
ASTRO_TELEMETRY_DISABLED: 1
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
AZURE_CORE_COLLECT_TELEMETRY: 0
CHOOSENIM_NO_ANALYTICS: 1
DIEZ_DO_NOT_TRACK: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
DO_NOT_TRACK: 1
ET_NO_TELEMETRY: 1
GATSBY_TELEMETRY_DISABLED: 1
GATSBY_TELEMETRY_OPTOUT: 1
GATSBY_TELEMETRY_OPT_OUT: 1
GRIT_TELEMETRY_DISABLED: 1
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
HINT_TELEMETRY: off
HOMEBREW_NO_ANALYTICS: 1
INFLUXD_REPORTING_DISABLED: true
ITERATIVE_DO_NOT_TRACK: 1
NEXT_TELEMETRY_DEBUG: 1
NEXT_TELEMETRY_DISABLED: 1
NG_CLI_ANALYTICS: false
NUXT_TELEMETRY_DISABLED: 1
PIN_DO_NOT_TRACK: 1
POWERSHELL_TELEMETRY_OPTOUT: 1
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1
strategy:
matrix:
toolchain: ["stable", "nightly"]
steps:
- uses: actions/[email protected]
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_allocator/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_allocator/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_ast/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_ast/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_cli/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_cli/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_codegen/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_codegen/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_diagnostics/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_diagnostics/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_index/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_index/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_js_regex/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_js_regex/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_language_server/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_language_server/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_linter/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_linter/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_macros/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_macros/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_minifier/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_minifier/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_module_lexer/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_module_lexer/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_parser/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_parser/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_prettier/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_prettier/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_semantic/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_semantic/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_span/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_span/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_syntax/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_syntax/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_transformer/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_transformer/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./crates/oxc_wasm/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./crates/oxc_wasm/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./fuzz/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./fuzz/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./napi/parser/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./napi/parser/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./tasks/benchmark/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./tasks/benchmark/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./tasks/common/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./tasks/common/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./tasks/coverage/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./tasks/coverage/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./tasks/javascript_globals/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./tasks/javascript_globals/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./tasks/minsize/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./tasks/minsize/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./tasks/prettier_conformance/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./tasks/prettier_conformance/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./tasks/rulegen/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./tasks/rulegen/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./tasks/transform_conformance/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./tasks/transform_conformance/Cargo.toml
- uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./wasm/parser/Cargo.toml') }}
- uses: actions-rs/[email protected]
with:
command: build
args: --release --all-features --manifest-path ./wasm/parser/Cargo.toml