forked from not-elm/bevy-input-sequence
-
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (28 loc) · 860 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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