Repository navigation
chore(deps): bump tokio from 1.53.1 to 1.53.2 in /backend in the minor-and-patch group #2871
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| frontend: | |
| name: "Frontend" | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6 | |
| with: | |
| # The pinned major lives in one place; a hardcoded literal here would | |
| # silently drift from the file and the Dockerfile's node stage. | |
| node-version-file: frontend/.node-version | |
| # Yarn is vendored (.yarn/releases/*.cjs) and invoked via node — no | |
| # corepack (node 25+ dropped the bundle). | |
| - name: Frontend checks | |
| run: | | |
| yarn() { node .yarn/releases/yarn-*.cjs "$@"; } | |
| yarn install --immutable | |
| yarn playwright install chromium | |
| yarn lint | |
| yarn typecheck | |
| yarn test | |
| yarn build | |
| backend: | |
| name: "Backend" | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: backend | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy, rustfmt | |
| - uses: Swatinem/rust-cache@f0d9c3887740aee45f6153b24b3a6b815192ec16 # v2 | |
| with: | |
| workspaces: backend | |
| - run: cargo fmt --all -- --check | |
| - run: cargo clippy --workspace --all-targets -- -D warnings | |
| - run: cargo test --workspace | |
| - run: cargo build --workspace --release |