pin gha versions and add dependabot (#41)

This commit is contained in:
Sergejs Kostjucenko
2022-08-26 10:01:55 +03:00
committed by GitHub
parent d241ab9c1b
commit b6683742f0
4 changed files with 26 additions and 20 deletions
+3 -3
View File
@@ -18,18 +18,18 @@ jobs:
RUST_BACKTRACE: full
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.4.1
uses: styfle/cancel-workflow-action@bb6001c4ea612bf59c3abfc4756fbceee4f870c7 # 0.10.0
with:
access_token: ${{ github.token }}
- name: Checkout sources & submodules
uses: actions/checkout@master
uses: actions/checkout@v3
with:
fetch-depth: 5
submodules: recursive
- name: Add rustfmt
run: rustup component add rustfmt
- name: rust-fmt check
uses: actions-rs/cargo@master
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check