Skip to content

chore: add github ci #1

chore: add github ci

chore: add github ci #1

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: [ "master" ]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
rust-ci:
name: Rust CI (fmt, check, clippy, test)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Rustfmt
run: cargo fmt --all -- --check
- name: Cargo check
run: cargo check --workspace --all-targets
- name: Clippy
run: |
cargo clippy -p ferrum-flow --all-targets
cargo clippy -p ferrum-flow-sync-plugin --all-targets
- name: Tests
run: |
cargo test -p ferrum-flow --all-targets --no-fail-fast
cargo test -p ferrum-flow-sync-plugin --all-targets --no-fail-fast