mirror of
https://github.com/2e3s/awatcher.git
synced 2025-06-05 19:15:33 +00:00
Add a GHA for stable compilation
This commit is contained in:
parent
16ec9f64d7
commit
e39e720f5e
15
.github/workflows/verify.yml
vendored
15
.github/workflows/verify.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
with:
|
||||
components: rustfmt
|
||||
- run: cargo fmt --check --all
|
||||
clippy:
|
||||
clippy-bundle:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
AW_WEBUI_DIR: ${{ github.workspace }}/src/bundle
|
||||
@ -31,6 +31,19 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo clippy --locked --all-targets --all-features --workspace -- -D warnings
|
||||
- run: cargo clippy --locked --all-targets --workspace -- -D warnings
|
||||
clippy:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
AW_WEBUI_DIR: ${{ github.workspace }}/src/bundle
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get install -y libdbus-1-dev
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: stable
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo clippy --locked --all-targets --workspace -- -D warnings
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user