mirror of
https://github.com/ClementTsang/bottom
synced 2025-02-16 13:18:28 +00:00
ci: update rust-cache to 1.4.0
This commit is contained in:
parent
e646a76630
commit
a9da449cef
5 changed files with 17 additions and 13 deletions
2
.github/workflows/audit.yml
vendored
2
.github/workflows/audit.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 # https://github.com/actions-rs/toolchain/commit/88dc2356392166efad76775c878094f4e83ff746
|
||||
|
|
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -3,6 +3,10 @@
|
|||
# CI pipeline based on:
|
||||
# - https://github.com/heim-rs/heim/blob/master/.github/workflows/ci.yml
|
||||
# - https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/ci.yml
|
||||
#
|
||||
# CI pipeline should do:
|
||||
# 1. cargo fmt
|
||||
# 2. cargo build
|
||||
|
||||
name: ci
|
||||
|
||||
|
@ -47,7 +51,7 @@ jobs:
|
|||
override: true
|
||||
components: rustfmt
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
|
||||
|
||||
- run: cargo fmt --all -- --check
|
||||
|
@ -82,7 +86,7 @@ jobs:
|
|||
override: true
|
||||
components: clippy
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
|
||||
|
||||
- run: cargo clippy --all-targets --workspace -- -D warnings
|
||||
|
@ -236,7 +240,7 @@ jobs:
|
|||
override: true
|
||||
target: ${{ matrix.triple.target }}
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
|
||||
with:
|
||||
key: ${{ matrix.triple.target }}
|
||||
|
@ -298,7 +302,7 @@ jobs:
|
|||
override: true
|
||||
target: ${{ matrix.triple.target }}
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
|
||||
with:
|
||||
key: ${{ matrix.triple.target }}
|
||||
|
@ -360,7 +364,7 @@ jobs:
|
|||
override: true
|
||||
target: ${{ matrix.triple.target }}
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
|
||||
with:
|
||||
key: ${{ matrix.triple.target }}
|
||||
|
|
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
override: true
|
||||
components: rustfmt
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
with:
|
||||
key: ${{ matrix.triple.target }}
|
||||
|
||||
|
|
6
.github/workflows/deployment.yml
vendored
6
.github/workflows/deployment.yml
vendored
|
@ -141,7 +141,7 @@ jobs:
|
|||
override: true
|
||||
target: ${{ matrix.triple.target }}
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
with:
|
||||
key: ${{ matrix.triple.target }}
|
||||
|
||||
|
@ -249,7 +249,7 @@ jobs:
|
|||
override: true
|
||||
target: x86_64-pc-windows-msvc
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
with:
|
||||
key: x86_64-pc-windows-msvc-msi
|
||||
|
||||
|
@ -309,7 +309,7 @@ jobs:
|
|||
override: true
|
||||
target: x86_64-unknown-linux-gnu
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
with:
|
||||
key: x86_64-unknown-linux-gnu-deb
|
||||
|
||||
|
|
6
.github/workflows/nightly.yml
vendored
6
.github/workflows/nightly.yml
vendored
|
@ -137,7 +137,7 @@ jobs:
|
|||
override: true
|
||||
target: ${{ matrix.triple.target }}
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
with:
|
||||
key: ${{ matrix.triple.target }}
|
||||
|
||||
|
@ -243,7 +243,7 @@ jobs:
|
|||
override: true
|
||||
target: x86_64-pc-windows-msvc
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
with:
|
||||
key: x86_64-pc-windows-msvc-msi
|
||||
|
||||
|
@ -303,7 +303,7 @@ jobs:
|
|||
override: true
|
||||
target: x86_64-unknown-linux-gnu
|
||||
|
||||
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # 1.3.0
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
with:
|
||||
key: x86_64-unknown-linux-gnu-deb
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue