Skip to content

feat: basic project structure and tooling #9

feat: basic project structure and tooling

feat: basic project structure and tooling #9

Workflow file for this run

name: CI
permissions:
contents: read
on:
pull_request:
env:
CARGO_TERM_COLOR: always
CLICOLOR: 1
RUST_VERSION: 1.78.0
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate-title:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
lockfile:
name: lockfile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Is lockfile updated?
run: cargo update --workspace --locked
precommit:
name: precommit
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]