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
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Rustfmt
|
- name: Rustfmt
|
||||||
|
|
6
.github/workflows/publish.yaml
vendored
6
.github/workflows/publish.yaml
vendored
|
@ -15,11 +15,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
profile: minimal
|
|
||||||
|
|
||||||
- name: Publish to crates.io
|
- name: Publish to crates.io
|
||||||
uses: katyo/publish-crates@v2
|
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"
|
file-type: "application/x-luau"
|
||||||
|
|
||||||
- name: Luau LSP documentation
|
- name: Luau LSP documentation
|
||||||
cargo-args: "--generate-luau-types --generate-docs-file"
|
cargo-args: "--generate-docs-file"
|
||||||
file-name: "luneDocs.json"
|
file-name: "luneDocs.json"
|
||||||
file-type: "application/json"
|
file-type: "application/json"
|
||||||
|
|
||||||
|
@ -61,11 +61,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
profile: minimal
|
|
||||||
|
|
||||||
- name: Generate file
|
- name: Generate file
|
||||||
run: cargo run --package lune-cli -- ${{ matrix.cargo-args }}
|
run: cargo run --package lune-cli -- ${{ matrix.cargo-args }}
|
||||||
|
@ -107,12 +103,9 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
targets: ${{ matrix.cargo-target }}
|
||||||
target: ${{ matrix.cargo-target }}
|
|
||||||
override: true
|
|
||||||
profile: minimal
|
|
||||||
|
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: cargo build --package lune-cli --locked --release --all-features --target ${{ matrix.cargo-target }}
|
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
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
profile: minimal
|
|
||||||
|
|
||||||
- name: Build CLI
|
- name: Build CLI
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue