fix clippy and check it on ci (#18)

This commit is contained in:
extrawurst
2025-03-26 01:20:38 +01:00
committed by GitHub
parent 17406b1f00
commit 9842148010
14 changed files with 85 additions and 53 deletions

View File

@@ -6,7 +6,7 @@ on:
branches: ["master"]
jobs:
debug:
ci:
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v4
@@ -23,16 +23,18 @@ jobs:
packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
version: 1.0
- name: Formatting
run: |
cargo fmt --check
- name: Lints
run: |
cargo clippy
- name: Build
run: |
cargo build --locked --target=x86_64-unknown-linux-gnu
- name: Archive
run: |
cp target/x86_64-unknown-linux-gnu/debug/hedz_reloaded hedz_reloaded
tar -czf steamos-debug.tar.gz hedz_reloaded
cargo build
- uses: actions/upload-artifact@v4
with:
name: steamos-debug.tar.gz
path: ./steamos-debug.tar.gz
- name: Lints
run: |
cargo test