fix: reconcile main with master-only security/truncate fixes; repair never-running CI #35
+12
-2
@@ -15,9 +15,19 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: python3 --version
|
- name: Ensure python3 available (runner image may lack it)
|
||||||
|
run: |
|
||||||
|
if command -v python3 >/dev/null 2>&1; then
|
||||||
|
python3 --version
|
||||||
|
else
|
||||||
|
. /etc/os-release
|
||||||
|
echo "python3 missing — installing on $ID $VERSION_CODENAME"
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get install -y -qq python3 python3-yaml
|
||||||
|
python3 --version
|
||||||
|
python3 -c "import yaml" && echo "PyYAML OK"
|
||||||
|
fi
|
||||||
- run: node --version
|
- run: node --version
|
||||||
- run: echo "Runner works!"
|
|
||||||
|
|
||||||
- name: Python syntax check
|
- name: Python syntax check
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user