diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cd2ce5d..5a5bc895 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: build: name: Build and Test runs-on: ${{ matrix.os }} + env: + CARGO_INCREMENTAL: "0" strategy: fail-fast: false @@ -25,8 +27,9 @@ jobs: run: Set-MpPreference -DisableRealtimeMonitoring $true - uses: actions/checkout@v4 - with: - submodules: true + + - name: Init rbx-dom submodule + run: git submodule update --init --depth 1 rbx-dom - name: Install Rust uses: dtolnay/rust-toolchain@stable @@ -45,8 +48,9 @@ jobs: steps: - uses: actions/checkout@v4 - with: - submodules: true + + - name: Init vscode-rojo submodule + run: git submodule update --init --depth 1 vscode-rojo - name: Setup Node.js uses: actions/setup-node@v4 @@ -64,11 +68,14 @@ jobs: msrv: name: Check MSRV runs-on: ubuntu-latest + env: + CARGO_INCREMENTAL: "0" steps: - uses: actions/checkout@v4 - with: - submodules: true + + - name: Init rbx-dom submodule + run: git submodule update --init --depth 1 rbx-dom - name: Install Rust uses: dtolnay/rust-toolchain@1.88.0 @@ -84,11 +91,14 @@ jobs: lint: name: Rustfmt, Clippy, Stylua, & Selene runs-on: ubuntu-latest + env: + CARGO_INCREMENTAL: "0" steps: - uses: actions/checkout@v4 - with: - submodules: true + + - name: Init rbx-dom submodule + run: git submodule update --init --depth 1 rbx-dom - name: Install Rust uses: dtolnay/rust-toolchain@stable @@ -113,4 +123,4 @@ jobs: run: cargo fmt -- --check - name: Clippy - run: cargo clippy + run: cargo clippy -- -D warnings diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3669ea3..9ffb1367 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,8 @@ jobs: needs: ["create-release"] name: Build Roblox Studio Plugin runs-on: ubuntu-latest + env: + CARGO_INCREMENTAL: "0" steps: - uses: actions/checkout@v4 with: @@ -28,6 +30,9 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable + - name: Rust Cache + uses: Swatinem/rust-cache@v2 + - name: Install Rokit uses: CompeyDev/setup-rokit@v0.1.2 @@ -62,8 +67,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - submodules: true + + - name: Init vscode-rojo submodule + run: git submodule update --init --depth 1 vscode-rojo - name: Setup Node.js uses: actions/setup-node@v4 @@ -134,14 +140,16 @@ jobs: runs-on: ${{ matrix.os }} env: BIN: atlas + CARGO_INCREMENTAL: "0" steps: - name: Disable Windows Defender if: runner.os == 'Windows' run: Set-MpPreference -DisableRealtimeMonitoring $true - uses: actions/checkout@v4 - with: - submodules: true + + - name: Init rbx-dom submodule + run: git submodule update --init --depth 1 rbx-dom - name: Install Rust uses: dtolnay/rust-toolchain@stable