diff --git a/.github/workflows/rust_ci.yml b/.github/workflows/rust_ci.yml index 583a9ea4..d0412af3 100644 --- a/.github/workflows/rust_ci.yml +++ b/.github/workflows/rust_ci.yml @@ -221,3 +221,34 @@ jobs: - name: Run online binary run: ./run_online.zsh + + run_werewolf_binary: + name: Run Werewolf Binary + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + rustflags: "-A warnings" + + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-cargo- + + - name: Run werewolf init + run: ./run_werewolf.zsh init + + - name: Run werewolf night + run: ./run_werewolf.zsh night