mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-26 07:16:11 +00:00
20 lines
465 B
YAML
20 lines
465 B
YAML
name: ci
|
|
on:
|
|
pull_request:
|
|
branches: [development]
|
|
push:
|
|
branches: [development, main]
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Shell syntax
|
|
run: for f in spikes/*.sh; do bash -n "$f"; done
|
|
- name: Rust (once a Cargo workspace exists)
|
|
if: hashFiles('Cargo.toml') != ''
|
|
run: |
|
|
cargo fmt --check
|
|
cargo clippy -- -D warnings
|
|
cargo test
|