mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-04-19 11:23:59 +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:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Set working directory
|
|
||||||
run: cd lune-src/
|
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Rustfmt
|
- name: Rustfmt
|
||||||
run: cargo fmt -- --check
|
run: cd lune-src/ && cargo fmt -- --check
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --locked
|
run: cd lune-src/ && cargo build --locked
|
||||||
|
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
run: cargo clippy
|
run: cd lune-src/ && cargo clippy
|
||||||
|
|
||||||
- name: Test
|
- 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