mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
38 lines
662 B
YAML
38 lines
662 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
ci:
|
|
name: CI
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: rustfmt, clippy
|
|
|
|
- name: Install project tools
|
|
uses: ok-nick/setup-aftman@v0.3.0
|
|
|
|
- name: Rustfmt
|
|
run: cargo fmt -- --check
|
|
|
|
- name: Build
|
|
run: cargo build --locked
|
|
|
|
- name: Clippy
|
|
run: cargo clippy
|
|
|
|
- name: Test - Lune
|
|
run: just test
|
|
|
|
- name: Test - CLI
|
|
run: just test-cli
|