Skip to content

Update ControllablePhysics and FrameStats documentation #35

Update ControllablePhysics and FrameStats documentation

Update ControllablePhysics and FrameStats documentation #35

Workflow file for this run

on: pull_request
name: Pull request checks
jobs:
pull_request:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Cache toolchain
uses: actions/cache@v2
with:
path: |
~/.rustup/toolchains
~/.rustup/update-hashes
~/.rustup/settings.toml
key: toolchain-${{ hashFiles('rust-toolchain') }}
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: deps-${{ hashFiles('**/Cargo.lock') }}
- name: Cache build
uses: actions/cache@v2
with:
path: |
target/.rustc_info.json
target/debug
key: target-debug-${{ github.run_number }}
restore-keys: |
target-debug-
- name: Install rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rustfmt
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
- name: Compile
uses: actions-rs/cargo@v1
with:
command: test
args: --no-run
- name: Test
uses: actions-rs/cargo@v1
with:
command: test