mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-04-18 19:03:50 +01:00
fix(actions): ci action
This commit is contained in:
parent
fbf2271355
commit
f4ee07694a
1 changed files with 4 additions and 7 deletions
11
.github/workflows/ci.yaml
vendored
11
.github/workflows/ci.yaml
vendored
|
@ -16,22 +16,19 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Set working directory
|
||||
run: cd lune-src/
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Rustfmt
|
||||
run: cargo fmt -- --check
|
||||
run: cd lune-src/ && cargo fmt -- --check
|
||||
|
||||
- name: Build
|
||||
run: cargo build --locked
|
||||
run: cd lune-src/ && cargo build --locked
|
||||
|
||||
- name: Clippy
|
||||
run: cargo clippy
|
||||
run: cd lune-src/ && cargo clippy
|
||||
|
||||
- name: Test
|
||||
run: cargo test --package lune -- --test-threads 1
|
||||
run: cd lune-src/ && cargo test --package lune -- --test-threads 1
|
||||
|
|
Loading…
Add table
Reference in a new issue