Add keyring-util #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: keyring-util-CI | ||
on: [pull_request] | ||
jobs: | ||
check: | ||
name: Check | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
working-directory: ./keyring-util | ||
Check failure on line 11 in .github/workflows/keyring-util-CI.yml GitHub Actions / keyring-util-CIInvalid workflow file
|
||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- uses: actions-rs/cargo@v1 | ||
working-directory: ./keyring-util | ||
with: | ||
command: check | ||
fmt: | ||
name: Rustfmt | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
working-directory: ./keyring-util | ||
working-directory: ./keyring-util | ||
with: | ||
profile: minimal | ||
toolchain: nightly | ||
override: true | ||
- run: rustup component add rustfmt | ||
working-directory: ./keyring-util | ||
- uses: actions-rs/cargo@v1 | ||
working-directory: ./keyring-util | ||
with: | ||
command: fmt | ||
args: --all -- --check | ||
clippy: | ||
name: Clippy | ||
runs-on: ubuntu-20.04 | ||
working-directory: ./keyring-util | ||
steps: | ||
- uses: actions/checkout@v3 | ||
working-directory: ./keyring-util | ||
- uses: actions-rs/toolchain@v1 | ||
working-directory: ./keyring-util | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- run: rustup component add clippy | ||
working-directory: ./keyring-util | ||
- uses: actions-rs/cargo@v1 | ||
working-directory: ./keyring-util | ||
with: | ||
command: clippy | ||
args: -- -D warnings |