ci(rust): fix cache thrashing that forced cold compiles every run (#1… #1741
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 Web | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| paths: | |
| - ".github/workflows/ci-ui.yaml" | |
| - "modules/meteroid/proto/**" | |
| - "modules/web/**" | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| name: Lint | |
| env: | |
| TURBO_TELEMETRY_DISABLED: true | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v6 | |
| with: | |
| version: 11.6.0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| cache: "pnpm" | |
| cache-dependency-path: "modules/web/pnpm-lock.yaml" | |
| - name: Install dependencies | |
| run: pnpm install --prefix modules/web | |
| - name: Run lint | |
| run: pnpm --prefix modules/web lint |