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:
parent
1117d2db39
commit
88000b5feb
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue