From 13f7354cfeef364da25bbc112a0871196a8033e4 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Wed, 16 Mar 2022 20:58:04 -0700 Subject: [PATCH] github: pin `actions-rs/cargo` version by hash --- .github/workflows/build.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8a0f06bd..e9cfaaabc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,12 +24,12 @@ jobs: override: true profile: minimal - name: Build - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: build args: --workspace --verbose - name: Test - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: test args: --workspace --verbose @@ -47,7 +47,7 @@ jobs: profile: minimal components: rustfmt override: true - - uses: actions-rs/cargo@v1 + - uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: fmt args: --all -- --check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b13854e3..dbb64db0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: override: true target: ${{ matrix.target }} - name: Build release binary - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b with: command: build args: --target ${{ matrix.target }} --verbose --release