Skip to content

workflow: Add the new build_and_test workflow. #5

workflow: Add the new build_and_test workflow.

workflow: Add the new build_and_test workflow. #5

Workflow file for this run

name: Code Checks
on: [push]
env:
CARGO_TERM_COLOR: always
jobs:
formatting:
name: Check formatting
runs-on: ubicloud-standard-4
steps:
- uses: actions/checkout@v4
- name: Run Cargo fmt
run: cargo fmt --check
linting:
name: Check linting
runs-on: ubicloud-standard-4
steps:
- uses: actions/checkout@v4
- name: Run Cargo clippy
run: cargo clippy --no-deps --all-targets -- -Dwarnings