Skip to content

Implement UI build pipeline #584

Implement UI build pipeline

Implement UI build pipeline #584

Workflow file for this run

name: Development
on:
pull_request_target:
types: [opened, synchronize, reopened]
jobs:
test-precommit-checks:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install pre-commit
- name: Dump .env.local tail (hex + ASCII)
run: |
echo '--- od -c tail ---'
od -c -A n -v src/ui/.env.local | tail -n 3
echo '--- od -tx1 last two bytes ---'
od -tx1 -A n -v -j $(($(stat -c%s src/ui/.env.local)-2)) -N2 src/ui/.env.local
echo '--- git eol info ---'
git ls-files --eol -- src/ui/.env.local
echo '--- git attributes ---'
git check-attr -a -- src/ui/.env.local
- name: Run end-of-file-fixer only, verbose
run: |
pre-commit run end-of-file-fixer --files src/ui/.env.local --verbose --color always || true
echo "--- exit code: $?" # we expect 1 if it rewrote