genius-core-client 0.4.0

Genius Core Client Library. Written in Rust and using PyO3 for Python bindings.
Documentation
name: CI (Pull Request)

on:
  pull_request:
    branches:
      - main
    types:
      - opened
      - edited
      - synchronize
      - labeled
      - unlabeled

jobs:
  check:
    name: Check
    # Don't run on release commits
    if: ${{ !contains(github.event.pull_request.title, '[skip build]') }}
    uses: VersesTech/github-actions/.github/workflows/rust-check.yaml@main
    secrets: inherit

  lints:
    name: Lints
    # Don't run on release commits
    if: ${{ !contains(github.event.pull_request.title, '[skip build]') }}
    uses: VersesTech/github-actions/.github/workflows/rust-lint.yaml@main
    secrets: inherit

  build-test:
    name: Build and test
    # Don't run on release commits
    if: ${{ !contains(github.event.pull_request.title, '[skip build]') }}
    uses: VersesTech/github-actions/.github/workflows/rust-build-test.yaml@main
    secrets: inherit
  
  maturin:
    name: Maturin
    # Don't run on release commits
    if: ${{ !contains(github.event.pull_request.title, '[skip build]') }}
    uses: ./.github/workflows/maturin.yaml
    secrets: inherit
  
  pr-title-check:
    name: Check PR title and body
    # Don't run on release commits
    if: ${{ !contains(github.event.pull_request.title, '[skip build]') }}
    runs-on: ubuntu-latest
    steps:
      - name: title-checker
        id: title-checker
        uses: agenthunt/conventional-commit-checker-action@v2.0.0
        with:
          # https://gist.github.com/marcojahn/482410b728c31b221b70ea6d2c433f0c
          pr-title-regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)'
          pr-body-regex: .*