lune/.github/workflows/ci.yaml
2023-03-10 11:39:54 +01:00

36 lines
654 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 - Lune Roblox
run: cargo test --package lune-roblox
- name: Test - CLI
run: cargo test --package lune-cli