forked from not-elm/bevy-input-sequence
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: add --tests flag FIX: add apt libraries FIX: use stable toolchain in clippy action UPDATE: add install actions. UPDATE: delete `--all` from GitHub actions. ADD: github actions CLIPPY: Delete `into_iter`
- Loading branch information
not-elm
committed
Mar 19, 2024
1 parent
c4fb29c
commit 590ced1
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Unit Test | ||
run-name: ${{ github.actor }} is testing | ||
on: [ push, pull_request ] | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install | ||
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy | ||
- name: Clippy | ||
run: cargo clippy --tests | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install | ||
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Test | ||
run: cargo test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters