ci(build): reverse order of fmt/clippy/build
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -25,8 +25,8 @@ jobs:
|
|||||||
- name: Install build deps
|
- name: Install build deps
|
||||||
run: sudo apt install libgtk-3-dev libgtk-layer-shell-dev
|
run: sudo apt install libgtk-3-dev libgtk-layer-shell-dev
|
||||||
|
|
||||||
- name: Build
|
- name: Check formatting
|
||||||
run: cargo build --verbose
|
run: cargo fmt --check
|
||||||
|
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
uses: actions-rs/clippy-check@v1
|
uses: actions-rs/clippy-check@v1
|
||||||
@@ -34,8 +34,8 @@ jobs:
|
|||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
args: --all-features
|
args: --all-features
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Build
|
||||||
run: cargo fmt --check
|
run: cargo build --verbose
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user