mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
ci(lint): move formatting and doc checks first (#465)
Putting the formatting and doc checks first to ensure that more critical errors are caught first (e.g. a conventional commit error or typo should not prevent the formatting and doc checks from running).
This commit is contained in:
parent
5c785b2270
commit
343c6cdc47
1 changed files with 9 additions and 9 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -36,15 +36,6 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: Check conventional commits
|
|
||||||
uses: crate-ci/committed@master
|
|
||||||
with:
|
|
||||||
args: "-vv"
|
|
||||||
commits: HEAD
|
|
||||||
- name: Check typos
|
|
||||||
uses: crate-ci/typos@master
|
|
||||||
- name: Lint dependencies
|
|
||||||
uses: EmbarkStudios/cargo-deny-action@v1
|
|
||||||
- name: Install Rust nightly
|
- name: Install Rust nightly
|
||||||
uses: dtolnay/rust-toolchain@nightly
|
uses: dtolnay/rust-toolchain@nightly
|
||||||
with:
|
with:
|
||||||
|
@ -55,6 +46,15 @@ jobs:
|
||||||
run: cargo make fmt
|
run: cargo make fmt
|
||||||
- name: Check documentation
|
- name: Check documentation
|
||||||
run: cargo make check-doc
|
run: cargo make check-doc
|
||||||
|
- name: Check conventional commits
|
||||||
|
uses: crate-ci/committed@master
|
||||||
|
with:
|
||||||
|
args: "-vv"
|
||||||
|
commits: HEAD
|
||||||
|
- name: Check typos
|
||||||
|
uses: crate-ci/typos@master
|
||||||
|
- name: Lint dependencies
|
||||||
|
uses: EmbarkStudios/cargo-deny-action@v1
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue