From 7f8fcbf5c2635a5a922c2601edd5babc487b15c8 Mon Sep 17 00:00:00 2001 From: Glyn Normington Date: Tue, 5 Jan 2021 14:19:38 +0000 Subject: [PATCH 1/2] Bump slyce This allows rust 1.43 to be used. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 856f7e0..1dc052b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,4 +11,4 @@ pest = "2.1.3" pest_derive = "2.1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.57" -slyce = "0.3.0" +slyce = "0.3.1" From 010790c74bf76e59e0dea1df344a7b80a34be34c Mon Sep 17 00:00:00 2001 From: Glyn Normington Date: Tue, 5 Jan 2021 14:35:55 +0000 Subject: [PATCH 2/2] Tolerate rust 1.43.0 This is to ease the maintainance of the reference implementation in the JSONPath comparison project. --- .github/workflows/quickstart.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/quickstart.yml b/.github/workflows/quickstart.yml index f930f67..4122c19 100644 --- a/.github/workflows/quickstart.yml +++ b/.github/workflows/quickstart.yml @@ -12,6 +12,9 @@ jobs: check: name: Check runs-on: ubuntu-latest + strategy: + matrix: + toolchain: [ stable, "1.43.0" ] steps: - name: Checkout sources uses: actions/checkout@v2 @@ -22,7 +25,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: ${{ matrix.toolchain }} override: true - name: Run cargo check @@ -33,6 +36,9 @@ jobs: test: name: Test Suite runs-on: ubuntu-latest + strategy: + matrix: + toolchain: [ stable, "1.43.0" ] steps: - name: Checkout sources uses: actions/checkout@v2 @@ -43,7 +49,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: ${{ matrix.toolchain }} override: true - name: Run cargo test @@ -64,6 +70,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal + # lint using only the latest stable toolchain: stable override: true components: rustfmt, clippy