diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bd04c77..3b4c60e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,10 +13,8 @@ jobs: uses: actions/checkout@v3 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - toolchain: stable - override: true components: rustfmt, clippy - name: Rustfmt diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e129e31..dcb01ca 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,11 +15,7 @@ jobs: uses: actions/checkout@v3 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - profile: minimal + uses: dtolnay/rust-toolchain@stable - name: Publish to crates.io uses: katyo/publish-crates@v2 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc9ebcd..acbc7d5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -50,7 +50,7 @@ jobs: file-type: "application/x-luau" - name: Luau LSP documentation - cargo-args: "--generate-luau-types --generate-docs-file" + cargo-args: "--generate-docs-file" file-name: "luneDocs.json" file-type: "application/json" @@ -61,11 +61,7 @@ jobs: uses: actions/checkout@v3 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - profile: minimal + uses: dtolnay/rust-toolchain@stable - name: Generate file run: cargo run --package lune-cli -- ${{ matrix.cargo-args }} @@ -107,12 +103,9 @@ jobs: uses: actions/checkout@v3 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - toolchain: stable - target: ${{ matrix.cargo-target }} - override: true - profile: minimal + targets: ${{ matrix.cargo-target }} - name: Build binary run: cargo build --package lune-cli --locked --release --all-features --target ${{ matrix.cargo-target }} diff --git a/.github/workflows/wiki.yaml b/.github/workflows/wiki.yaml index 1d1cb4e..bad063c 100644 --- a/.github/workflows/wiki.yaml +++ b/.github/workflows/wiki.yaml @@ -18,11 +18,7 @@ jobs: uses: actions/checkout@v3 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - profile: minimal + uses: dtolnay/rust-toolchain@stable - name: Build CLI shell: bash