mirror of
https://github.com/2e3s/awatcher.git
synced 2025-06-06 11:35:46 +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:
|
with:
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
- run: cargo fmt --check --all
|
- run: cargo fmt --check --all
|
||||||
clippy:
|
clippy-bundle:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
AW_WEBUI_DIR: ${{ github.workspace }}/src/bundle
|
AW_WEBUI_DIR: ${{ github.workspace }}/src/bundle
|
||||||
@ -31,6 +31,19 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- run: cargo clippy --locked --all-targets --all-features --workspace -- -D warnings
|
- run: cargo clippy --locked --all-targets --all-features --workspace -- -D warnings
|
||||||
- run: cargo clippy --locked --all-targets --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:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user