Skip to content

Ran cargo fmt + JetBrains format #117

Ran cargo fmt + JetBrains format

Ran cargo fmt + JetBrains format #117

Workflow file for this run

name: push
on:
push: {}
jobs:
server-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal
- run: rustup component add rustfmt
- uses: Swatinem/[email protected]
with:
workspaces: "server"
save-if: ${{ github.ref == 'refs/heads/master' }}
- run: cargo fmt --all --check
working-directory: server
server-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt install -qq -y --no-install-recommends protobuf-compiler
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/[email protected]
with:
workspaces: "server"
save-if: ${{ github.ref == 'refs/heads/master' }}
- run: cargo test
working-directory: server
server-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt install -qq -y --no-install-recommends protobuf-compiler
- run: rustup toolchain install stable --profile minimal
- run: rustup component add clippy
- uses: Swatinem/[email protected]
with:
workspaces: "server"
save-if: ${{ github.ref == 'refs/heads/master' }}
- run: cargo clippy
working-directory: server