mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Update workflow action rust install step
This commit is contained in:
parent
58ecbdb121
commit
428be1e0f4
4 changed files with 7 additions and 24 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
@ -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
|
||||
|
|
6
.github/workflows/publish.yaml
vendored
6
.github/workflows/publish.yaml
vendored
|
@ -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
|
||||
|
|
15
.github/workflows/release.yaml
vendored
15
.github/workflows/release.yaml
vendored
|
@ -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 }}
|
||||
|
|
6
.github/workflows/wiki.yaml
vendored
6
.github/workflows/wiki.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue