1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

chore: upgrade Rust version to 1.56.1 (#12870)

This commit is contained in:
Abdfn 2021-11-24 21:26:18 +03:00 committed by GitHub
parent 1117d2db39
commit 88000b5feb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1 FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1
# Update to Rust 1.55.0 # Update to Rust 1.56.1
RUN rustup update 1.55.0 && rustup default 1.55.0 RUN rustup update 1.56.1 && rustup default 1.56.1
# Install Deno # Install Deno
ENV DENO_INSTALL=/usr/local ENV DENO_INSTALL=/usr/local

View file

@ -84,7 +84,7 @@ jobs:
- name: Install Rust - name: Install Rust
uses: hecrj/setup-rust-action@v1 uses: hecrj/setup-rust-action@v1
with: with:
rust-version: 1.56.0 rust-version: 1.56.1
- name: Install clippy and rustfmt - name: Install clippy and rustfmt
if: matrix.job == 'lint' if: matrix.job == 'lint'
@ -266,7 +266,7 @@ jobs:
~/.cargo/registry/index ~/.cargo/registry/index
~/.cargo/registry/cache ~/.cargo/registry/cache
~/.cargo/git/db ~/.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 # In main branch, always creates fresh cache
- name: Cache build output (main) - name: Cache build output (main)
@ -282,7 +282,7 @@ jobs:
!./target/*/*.zip !./target/*/*.zip
!./target/*/*.tar.gz !./target/*/*.tar.gz
key: | 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. # Restore cache from the latest 'main' branch build.
- name: Cache build output (PR) - name: Cache build output (PR)
@ -298,7 +298,7 @@ jobs:
!./target/*/*.tar.gz !./target/*/*.tar.gz
key: never_saved key: never_saved
restore-keys: | 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'. # Don't save cache after building PRs or branches other than 'main'.
- name: Skip save cache (PR) - name: Skip save cache (PR)