Use nightly rust; add missing deps; enable LFS on releases
This commit is contained in:
@@ -28,10 +28,10 @@ jobs:
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.toml') }}
|
||||
- name: Install stable toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install nightly toolchain
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Install Dependencies
|
||||
run: sudo apt-get update; sudo apt-get install --yes --no-install-recommends libasound2-dev libudev-dev
|
||||
run: sudo apt-get update; sudo apt-get install --yes --no-install-recommends libasound2-dev libudev-dev clang lld
|
||||
- name: Run cargo test
|
||||
run: cargo test
|
||||
|
||||
@@ -53,12 +53,12 @@ jobs:
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.toml') }}
|
||||
- name: Install stable toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install nightly toolchain
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
components: clippy
|
||||
- name: Install Dependencies
|
||||
run: sudo apt-get update; sudo apt-get install --yes --no-install-recommends libasound2-dev libudev-dev
|
||||
run: sudo apt-get update; sudo apt-get install --yes --no-install-recommends libasound2-dev libudev-dev clang lld
|
||||
- name: Run clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
|
||||
@@ -70,8 +70,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
- name: Install stable toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install nightly toolchain
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
components: rustfmt
|
||||
- name: Run cargo fmt
|
||||
|
||||
Reference in New Issue
Block a user