MABELab-RS/.forgejo/workflows/ci.yml

25 lines
622 B
YAML

name: CI
on:
push:
branches: [ main, porting ]
pull_request:
branches: [ main, porting ]
jobs:
rust:
runs-on: docker
container:
image: mabelabrs-dev:latest
# If your Forgejo runner can't pull local images, add a previous step
# to `docker build -f Dockerfile.dev -t mabelabrs-dev:latest .`
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --workspace --all-targets
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Test
run: cargo test --workspace --all-features --no-fail-fast