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:
|
container:
|
||||||
image: rust:slim
|
image: rust:slim
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: install action dependencies
|
||||||
run: |
|
run: apt install --no-install-recommends --update -y nodejs
|
||||||
apt --update --no-install-recommends -y install git
|
|
||||||
git clone https://codeberg.org/jutty/en .
|
|
||||||
- name: setup toolchain
|
- name: setup toolchain
|
||||||
run: rustup component add rustfmt clippy
|
run: rustup component add rustfmt clippy
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v6
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: cargo install --path .
|
run: cargo install --path .
|
||||||
- name: formatting
|
- name: formatting
|
||||||
run: cargo fmt -- --check
|
run: cargo fmt -- --check --files-with-diff
|
||||||
- name: lints
|
- name: lints
|
||||||
run: cargo clippy -- -Dwarnings
|
run: cargo clippy -- -Dwarnings
|
||||||
- name: cargo
|
- name: cargo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue