feat: implement stance-based armor penalties and rebalance combat system #305
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request, workflow_dispatch] | |
| env: | |
| FOUNDRY_PROFILE: ci | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Foundry (nightly) | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - run: forge --version | |
| - name: Install deps | |
| run: | | |
| forge install --no-git \ | |
| foundry-rs/forge-std@1eea5ba \ | |
| bokkypoobah/BokkyPooBahsDateTimeLibrary@1dc26f9 \ | |
| vectorized/solady@v0.1.24 \ | |
| smartcontractkit/chainlink-evm@v0.3.2 \ | |
| OpenZeppelin/openzeppelin-contracts@v4.9.6 | |
| - name: Run Forge fmt | |
| run: forge fmt --check | |
| - name: Build contracts | |
| run: forge build | |
| - name: Run tests | |
| run: forge test -vvv |