diff options
author | Abdfn <64256993+abdfnx@users.noreply.github.com> | 2021-11-24 21:26:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 13:26:18 -0500 |
commit | 88000b5feb531fc3969bfa8d60faec0f204cc659 (patch) | |
tree | ea51bac8d4a91e0b2fbc4713f39668f5e1440fe5 | |
parent | 1117d2db3965fc44f174be3fd029293b7e2b952e (diff) |
chore: upgrade Rust version to `1.56.1` (#12870)
-rw-r--r-- | .devcontainer/Dockerfile | 4 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 5438ca19e..8604d1700 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1 -# Update to Rust 1.55.0 -RUN rustup update 1.55.0 && rustup default 1.55.0 +# Update to Rust 1.56.1 +RUN rustup update 1.56.1 && rustup default 1.56.1 # Install Deno ENV DENO_INSTALL=/usr/local diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2761fb513..e418b4037 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,7 @@ jobs: - name: Install Rust uses: hecrj/setup-rust-action@v1 with: - rust-version: 1.56.0 + rust-version: 1.56.1 - name: Install clippy and rustfmt if: matrix.job == 'lint' @@ -266,7 +266,7 @@ jobs: ~/.cargo/registry/index ~/.cargo/registry/cache ~/.cargo/git/db - key: 0-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }} + key: 1-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }} # In main branch, always creates fresh cache - name: Cache build output (main) @@ -282,7 +282,7 @@ jobs: !./target/*/*.zip !./target/*/*.tar.gz key: | - 0-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }} + 1-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }} # Restore cache from the latest 'main' branch build. - name: Cache build output (PR) @@ -298,7 +298,7 @@ jobs: !./target/*/*.tar.gz key: never_saved restore-keys: | - 0-cargo-target-${{ matrix.os }}-${{ matrix.profile }}- + 1-cargo-target-${{ matrix.os }}-${{ matrix.profile }}- # Don't save cache after building PRs or branches other than 'main'. - name: Skip save cache (PR) |