Skip to content

code: Initial implementation of the state machine, vote keeper and driver #2

code: Initial implementation of the state machine, vote keeper and driver

code: Initial implementation of the state machine, vote keeper and driver #2

Workflow file for this run

name: "Rust"
on:
push:
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install cargo-nextest
uses: taiki-e/install-action@cargo-hack
- name: Build code
working_dir: Code

Check failure on line 18 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 18, Col: 9): Unexpected value 'working_dir' .github/workflows/rust.yml (Line: 21, Col: 9): Unexpected value 'working_dir'
run: cargo nextest run --workspace --all-features --no-run
- name: Run tests
working_dir: Code
run: cargo nextest run --workspace --all-features
fmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Check formatting
uses: actions-rust-lang/rustfmt@v1