ci: make source-check containers shell-portable
All checks were successful
CICD Start / Sanity and Base Decision (push) Successful in 20s
All checks were successful
CICD Start / Sanity and Base Decision (push) Successful in 20s
This commit is contained in:
@@ -187,8 +187,10 @@ jobs:
|
|||||||
- name: Run backend format/lint/type checks
|
- name: Run backend format/lint/type checks
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
docker run --rm -v "$PWD:/workspace" -w /workspace/backend python:3.14-slim bash -lc '
|
echo "Verifying backend workspace before container run"
|
||||||
set -e
|
ls -la backend | head -n 40
|
||||||
|
|
||||||
|
docker run --rm -v "$PWD:/workspace" -w /workspace/backend python:3.14-slim sh -euxc '
|
||||||
test -f pyproject.toml
|
test -f pyproject.toml
|
||||||
python -m pip install --disable-pip-version-check --no-cache-dir uv
|
python -m pip install --disable-pip-version-check --no-cache-dir uv
|
||||||
uv sync --dev
|
uv sync --dev
|
||||||
@@ -258,8 +260,10 @@ jobs:
|
|||||||
- name: Run frontend format/lint/type checks
|
- name: Run frontend format/lint/type checks
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
docker run --rm -v "$PWD:/workspace" -w /workspace/frontend node:24-bullseye bash -lc '
|
echo "Verifying frontend workspace before container run"
|
||||||
set -e
|
ls -la frontend | head -n 40
|
||||||
|
|
||||||
|
docker run --rm -v "$PWD:/workspace" -w /workspace/frontend node:24-bullseye sh -euxc '
|
||||||
test -f package.json
|
test -f package.json
|
||||||
corepack enable
|
corepack enable
|
||||||
yarn install --immutable || yarn install
|
yarn install --immutable || yarn install
|
||||||
|
|||||||
Reference in New Issue
Block a user