Update colors for B19 #122
Workflow file for this run
This file contains 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: 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 | |