Skip to content

Merge remote-tracking branch 'origin/debt/logging-cleanup' into debt/… #112

Merge remote-tracking branch 'origin/debt/logging-cleanup' into debt/…

Merge remote-tracking branch 'origin/debt/logging-cleanup' into debt/… #112

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