Revert to using actions/checkout, print formatable files
This commit is contained in:
parent
00524d07ca
commit
56ca8fe7ae
1 changed files with 5 additions and 5 deletions
|
|
@ -5,16 +5,16 @@ jobs:
|
|||
container:
|
||||
image: rust:slim
|
||||
steps:
|
||||
- name: checkout code
|
||||
run: |
|
||||
apt --update --no-install-recommends -y install git
|
||||
git clone https://codeberg.org/jutty/en .
|
||||
- name: install action dependencies
|
||||
run: apt install --no-install-recommends --update -y nodejs
|
||||
- name: setup toolchain
|
||||
run: rustup component add rustfmt clippy
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v6
|
||||
- name: install dependencies
|
||||
run: cargo install --path .
|
||||
- name: formatting
|
||||
run: cargo fmt -- --check
|
||||
run: cargo fmt -- --check --files-with-diff
|
||||
- name: lints
|
||||
run: cargo clippy -- -Dwarnings
|
||||
- name: cargo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue