diff --git a/.github/workflows/hardware-metadata-validation.yml b/.github/workflows/hardware-metadata-validation.yml index 716cd9762779..b80b85260429 100644 --- a/.github/workflows/hardware-metadata-validation.yml +++ b/.github/workflows/hardware-metadata-validation.yml @@ -21,6 +21,18 @@ jobs: image: docker.io/zmkfirmware/zmk-dev-arm:3.5 steps: - uses: actions/checkout@v4 + - name: Take ownership of /github/home (temporary patch) + run: chown -R $(whoami) /github/home + - name: Install python environment (temporary patch) + uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Setup Python virtual environment (temporary patch) + run: | + python3 -m venv /tmp/venv + . /tmp/venv/bin/activate + echo VIRTUAL_ENV="$VIRTUAL_ENV" >> $GITHUB_ENV + echo PATH="$PATH" >> $GITHUB_ENV - name: Install dependencies run: pip install -r app/scripts/requirements.txt - name: West init