Skip to content

Transform DrivingPrivilege::vehicle_category_code to an enum. Additional: make sure we handle UPPERCASE JSONvalues for EyeColour and HairColour. #207

Transform DrivingPrivilege::vehicle_category_code to an enum. Additional: make sure we handle UPPERCASE JSONvalues for EyeColour and HairColour.

Transform DrivingPrivilege::vehicle_category_code to an enum. Additional: make sure we handle UPPERCASE JSONvalues for EyeColour and HairColour. #207

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
RUSTDOCFLAGS: "-Dwarnings"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: cargo build --all-targets
- name: Run tests
run: |
cargo test
cd macros
cargo test
- name: Clippy
run: cargo clippy --all-targets
- name: Fmt
run: cargo fmt --all -- --check
- name: Fmt
run: cargo fmt --all -- --check
- name: Doc
run: |
cargo doc --all-features --no-deps
cd macros
cargo doc --all-features --no-deps