Skip to content

Commit

Permalink
move everything to MSRV 1.70, wasm stays MSRV 1.74
Browse files Browse the repository at this point in the history
  • Loading branch information
panekj committed Jul 30, 2024
1 parent 526ff76 commit 7f41264
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,12 @@ jobs:
- name: Install latest Rust toolchain
run: |
rustup update --no-self-update
rustup default 1.67
rustup toolchain add 1.70
rustup default 1.70
- uses: Swatinem/rust-cache@v2
- name: Test MSRV for lsp-async-stub/taplo-common/taplo-lsp
run: |
cargo +1.67 check -p lsp-async-stub -p taplo-common -p taplo-lsp
cargo +1.67 test -p lsp-async-stub -p taplo-common -p taplo-lsp
- name: Test MSRV for taplo
run: |
cargo +1.70 check -p taplo-common -p taplo-lsp
cargo +1.70 test -p taplo-common -p taplo-lsp
cargo check -p lsp-async-stub -p taplo-common -p taplo-lsp -p taplo
cargo test -p lsp-async-stub -p taplo-common -p taplo-lsp -p taplo
test-msrv-bin:
name: Test binaries with MSRV
Expand All @@ -104,14 +99,25 @@ jobs:
- name: Install latest Rust toolchain
run: |
rustup update --no-self-update
rustup default 1.74
rustup target install wasm32-unknown-unknown
rustup default 1.70
- uses: Swatinem/rust-cache@v2
- name: Test taplo-cli
run: |
cargo +1.74 check -p taplo-cli
cargo +1.74 test -p taplo-cli
cargo check -p taplo-cli
cargo test -p taplo-cli
test-msrv-wasm:
name: Test WASM with MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install latest Rust toolchain
run: |
rustup update --no-self-update
rustup default 1.74
rustup target install wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- name: Test taplo-wasm
working-directory: crates/taplo-wasm
run: |
cargo +1.74 check
cargo check
2 changes: 1 addition & 1 deletion crates/lsp-async-stub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "lsp-async-stub"
description = "An LSP server stub for futures"
version = "0.6.3"
rust-version = "1.67"
rust-version = "1.70"
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/taplo-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "taplo-cli"
description = "A CLI for Taplo TOML toolkit"
version = "0.9.2"
rust-version = "1.74"
rust-version = "1.70"
categories = ["development-tools", "command-line-utilities"]
keywords = ["toml", "linter", "formatter"]
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/taplo-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "taplo-common"
description = "Shared code for taplo utilities."
version = "0.5.1"
rust-version = "1.67"
rust-version = "1.70"
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/taplo-lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "taplo-lsp"
description = "Language server for Taplo"
version = "0.7.1"
rust-version = "1.67"
rust-version = "1.70"
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
Expand Down

0 comments on commit 7f41264

Please sign in to comment.