github: pin actions-rs/cargo version by hash

This commit is contained in:
Martin von Zweigbergk 2022-03-16 20:58:04 -07:00 committed by Martin von Zweigbergk
parent b36e50c09d
commit 13f7354cfe
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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