Skip to content

ci: use sparse crates.io protocol + retry to fix Windows network drops #12

ci: use sparse crates.io protocol + retry to fix Windows network drops

ci: use sparse crates.io protocol + retry to fix Windows network drops #12

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
frontend:
name: Frontend (typecheck + build)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm run build
core:
name: Rust core (photon-core tests)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
# photon-core is GUI-free, so no system WebKit/GTK deps are needed here.
- run: cargo test -p photon-core --locked