Unshallow Git clone
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-07-17 19:25:27 +02:00
parent c3d2612f9a
commit 5c987473a5

View File

@ -4,9 +4,17 @@ type: docker
name: default
steps:
# Needs a full git clone
- name: fetch
image: alpine/git
commands:
- git fetch --unshallow
# Frontend
- name: web_build
image: node:23
depends_on:
- fetch
volumes:
- name: web_app
path: /tmp/web_build
@ -20,6 +28,8 @@ steps:
# Backend
- name: backend_fetch_deps
image: rust
depends_on:
- fetch
volumes:
- name: rust_registry
path: /usr/local/cargo/registry
@ -78,6 +88,8 @@ steps:
# Mobile app code quality
- name: mobile_app_code_quality
image: ghcr.io/cirruslabs/flutter:latest
depends_on:
- fetch
commands:
- echo "Build version:" $(git describe --tags --abbrev=0)
- echo "Build number:" $(git rev-list --count $(git describe --tags --abbrev=0))