From c61857e34610fcc5e67cc6e1747822ed1f5497d7 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Sun, 19 Nov 2023 18:41:38 +0200 Subject: [PATCH] Fix build with rust 1.31 --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 708851d..0447a57 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -59,6 +59,12 @@ jobs: with: command: update args: --package serde_bytes --precise 0.11.10 + - name: Restrict serde_json version + if: matrix.restrict_deps_versions + uses: actions-rs/cargo@v1 + with: + command: update + args: --package serde_json --precise 1.0.72 - name: Restrict serde version if: matrix.restrict_deps_versions uses: actions-rs/cargo@v1 @@ -83,6 +89,12 @@ jobs: with: command: update args: --package proc-macro2 --precise 1.0.65 + - name: Restrict ryu version + if: matrix.restrict_deps_versions + uses: actions-rs/cargo@v1 + with: + command: update + args: --package ryu --precise 1.0.6 - name: Check formatting if: matrix.lint uses: actions-rs/cargo@v1