Skip to content

Code Serialization + Formatter #132

Code Serialization + Formatter

Code Serialization + Formatter #132

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Install dependencies
- name: Install dependencies
run: sudo apt update && sudo apt install -y libgtk-4-dev
- name: Run tests
run: cargo test --verbose
- name: Check formatting
run: cargo fmt -- --check
- name: Check for linting errors
run: |
rustup component add clippy
cargo clippy -- -D warnings