Skip to content

Change cmd enum to representing the entire input command #8

Change cmd enum to representing the entire input command

Change cmd enum to representing the entire input command #8

Workflow file for this run

name: CI Build
on:
push:
branches:
- main
jobs:
format-and-test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: rustup component add rustfmt
- run: cargo fmt
- name: Commit changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Auto-format code"
git push
continue-on-error: true # Avoid error if no changes are made
- env:
RUSTFLAGS: -A warnings
run: cargo test --release