Skip to content

deps(deps): update dtolnay/rust-toolchain digest to c5a29dd #503

deps(deps): update dtolnay/rust-toolchain digest to c5a29dd

deps(deps): update dtolnay/rust-toolchain digest to c5a29dd #503

name: backend-checks
on:
push:
branches:
- main
pull_request:
permissions: {}
jobs:
run-rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install rust-toolchain
uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c # master
with:
toolchain: stable
components: clippy, rustfmt
- name: Run rustfmt using cargo
working-directory: dtm-database-backend
run: cargo fmt --all -- --check
run-cargo-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install rust-toolchain
uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c # master
with:
toolchain: stable
components: clippy, rustfmt
- name: Run cargo-test
working-directory: dtm-database-backend
run: cargo test
run-cargo-clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install rust-toolchain
uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c # master
with:
toolchain: stable
components: clippy, rustfmt
- name: Run cargo-clippy -Dwarning
working-directory: dtm-database-backend
run: cargo clippy -- -Dwarnings
schema-validation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install rust-toolchain
uses: dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c # master
with:
toolchain: stable
components: clippy, rustfmt
- name: Run Schema Update
working-directory: dtm-database-backend
run: cargo run -- --frozen-schema --only-schema-checking