Skip to content

Commit

Permalink
add werewolf ci
Browse files Browse the repository at this point in the history
  • Loading branch information
taskooh committed Jul 11, 2024
1 parent e7da5ef commit 49f3e7d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 49f3e7d

Please sign in to comment.