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
|
||||
run: |
|
||||
set -e
|
||||
docker run --rm -v "$PWD:/workspace" -w /workspace/backend python:3.14-slim bash -lc '
|
||||
set -e
|
||||
echo "Verifying backend workspace before container run"
|
||||
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
|
||||
python -m pip install --disable-pip-version-check --no-cache-dir uv
|
||||
uv sync --dev
|
||||
@@ -258,8 +260,10 @@ jobs:
|
||||
- name: Run frontend format/lint/type checks
|
||||
run: |
|
||||
set -e
|
||||
docker run --rm -v "$PWD:/workspace" -w /workspace/frontend node:24-bullseye bash -lc '
|
||||
set -e
|
||||
echo "Verifying frontend workspace before container run"
|
||||
ls -la frontend | head -n 40
|
||||
|
||||
docker run --rm -v "$PWD:/workspace" -w /workspace/frontend node:24-bullseye sh -euxc '
|
||||
test -f package.json
|
||||
corepack enable
|
||||
yarn install --immutable || yarn install
|
||||
|
||||
Reference in New Issue
Block a user