Skip to content

Use Vite for dev builds - now with HMR! #17830

Use Vite for dev builds - now with HMR!

Use Vite for dev builds - now with HMR! #17830

Workflow file for this run

on:
pull_request:
branches:
- master
name: Backend linting and unit tests
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
fmt:
name: run fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup-rust
- uses: actions-rust-lang/rustfmt@v1
clippy:
name: run clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup-rust
with:
cache: read
- uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests -- -D warnings
unit_tests:
name: run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup-rust
with:
cache: read
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --exclude integration_tests