Fix CI
Some checks failed
CI / Rust (lint + test) (push) Failing after 3m25s
CI / Frontend (lint + typecheck) (push) Successful in 3m27s
CI / Python (lint + test) (push) Successful in 3m50s
Build and publish Docker image / build-and-push (push) Failing after 7m6s

This commit is contained in:
Andras Schmelczer 2026-03-24 19:30:35 +00:00
parent 4f61c702b1
commit 1a5c413464
2 changed files with 10 additions and 17 deletions

View file

@ -17,9 +17,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4 - name: Install uv
with: run: curl -LsSf https://astral.sh/uv/install.sh | sh
enable-cache: true
- name: Install dependencies - name: Install dependencies
run: uv sync run: uv sync
@ -48,8 +47,6 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 22
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
@ -72,11 +69,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable - uses: https://github.com/dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: server-rs
- name: Clippy - name: Clippy
run: cargo clippy -- -D warnings run: cargo clippy -- -D warnings

View file

@ -17,8 +17,8 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up uv - name: Install uv
uses: astral-sh/setup-uv@v4 run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Download map assets (fonts, sprites, twemoji) - name: Download map assets (fonts, sprites, twemoji)
run: uv run python -m pipeline.download.map_assets --output frontend/public/assets run: uv run python -m pipeline.download.map_assets --output frontend/public/assets
@ -27,10 +27,10 @@ jobs:
run: uv run python -m pipeline.download.arcgis --output property-data/arcgis_data.parquet run: uv run python -m pipeline.download.arcgis --output property-data/arcgis_data.parquet
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: https://github.com/docker/setup-buildx-action@v3
- name: Log in to Forgejo Container Registry - name: Log in to Forgejo Container Registry
uses: docker/login-action@v3 uses: https://github.com/docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
@ -62,7 +62,7 @@ jobs:
echo "sha_short=${SHA_SHORT}" >> "$GITHUB_OUTPUT" echo "sha_short=${SHA_SHORT}" >> "$GITHUB_OUTPUT"
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: https://github.com/docker/build-push-action@v6
with: with:
context: . context: .
push: true push: true
@ -71,7 +71,7 @@ jobs:
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ steps.tags.outputs.repo }}:buildcache,mode=max cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ steps.tags.outputs.repo }}:buildcache,mode=max
- name: Build and push screenshot service - name: Build and push screenshot service
uses: docker/build-push-action@v6 uses: https://github.com/docker/build-push-action@v6
with: with:
context: ./screenshot context: ./screenshot
push: true push: true
@ -82,7 +82,7 @@ jobs:
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ steps.tags.outputs.repo }}-screenshot:buildcache,mode=max cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ steps.tags.outputs.repo }}-screenshot:buildcache,mode=max
- name: Build and push finder service - name: Build and push finder service
uses: docker/build-push-action@v6 uses: https://github.com/docker/build-push-action@v6
with: with:
context: . context: .
file: Dockerfile.finder file: Dockerfile.finder