Move toolchain setup to a separate step, add clippy
This commit is contained in:
parent
78a45b8db3
commit
6b6e339c34
1 changed files with 3 additions and 6 deletions
|
|
@ -8,14 +8,11 @@ jobs:
|
|||
- name: checkout code
|
||||
run: |
|
||||
apt --update -y install git
|
||||
pwd; ls -la
|
||||
git clone https://codeberg.org/jutty/en .
|
||||
ls -la
|
||||
- name: setup toolchain
|
||||
run: rustup component add rustfmt clippy
|
||||
- name: formatting
|
||||
run: |
|
||||
pwd; ls -la
|
||||
rustup component add rustfmt
|
||||
cargo fmt -- --check
|
||||
run: cargo fmt -- --check
|
||||
- name: lints
|
||||
run: cargo clippy -- -Dwarnings
|
||||
- name: cargo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue