summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2022-05-01 15:47:30 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2022-05-01 15:47:30 -0400
commita9da449cefc2e7d3fff7471cb379bb70a22ba49a (patch)
treefa8052a64834e7113b532c81c345d968fb93f0cb /.github
parente646a7663064d41876c59f8c0cc32cac920ae0fc (diff)
ci: update rust-cache to 1.4.0
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/audit.yml2
-rw-r--r--.github/workflows/ci.yml14
-rw-r--r--.github/workflows/coverage.yml2
-rw-r--r--.github/workflows/deployment.yml6
-rw-r--r--.github/workflows/nightly.yml6
5 files changed, 17 insertions, 13 deletions
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml
index 776b77d8..4920f17c 100644
--- a/.github/workflows/audit.yml
+++ b/.github/workflows/audit.yml
@@ -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
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d92e1cd3..355310c7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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 }}
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index bf94ed74..2a88232f 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -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 }}
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml
index e96be4de..66a8a239 100644
--- a/.github/workflows/deployment.yml
+++ b/.github/workflows/deployment.yml
@@ -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
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index c35cd00c..08d588e1 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -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