lune/.github/workflows/ci.yaml
2023-02-23 21:05:25 +01:00

33 lines
574 B
YAML

name: CI
on:
push:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Rustfmt
run: cargo fmt -- --check
- name: Build
run: cargo build --locked
- name: Clippy
run: cargo clippy
- name: Test - Lune
run: cargo test --package lune
- name: Test - CLI
run: cargo test --package lune-cli