Skip to content

docs: Add contributing guide #32

docs: Add contributing guide

docs: Add contributing guide #32

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
check-rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check format
run: cargo fmt --all -- --check
- name: Check clippy
run: cargo clippy --all-targets --all-features -- -D warnings
check-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install tools
run: |
pip install ruff
- name: Check format
run: |
ruff format . --diff
- name: Check style
run: |
ruff check .
check-pyo3:
runs-on: ubuntu-latest
strategy:
matrix:
service:
- "memory"
- "s3"
steps:
- uses: actions/checkout@v4
- uses: PyO3/maturin-action@v1
with:
command: build
working-directory: "crates/service-${{ matrix.service }}"