Skip to content

chore(deps): update dependency sass to v1.83.0 #2373

chore(deps): update dependency sass to v1.83.0

chore(deps): update dependency sass to v1.83.0 #2373

Workflow file for this run

name: Python package
on:
push:
branches:
- master
- dev
pull_request:
jobs:
django:
runs-on: ubuntu-latest
strategy:
matrix:
python:
# - 3.6
- "3.10"
django:
# - "==2.2.*"
- "==4.2.*"
steps:
- uses: actions/checkout@v4
# Pull the latest image to build, and avoid caching pull-only images.
# (docker pull is faster than caching in most cases.)
- run: |
docker compose --file docker-compose.yml --file docker-compose.test.yml pull
docker pull python:${{matrix.python}}-slim
- name: Start database early
run: docker compose up -d db
- name: Build application
run: make build
env:
PYTHON_VERSION: ${{ matrix.python }}
- name: Migration check
run: make check
- name: Show settings
run: make settings
- name: Regenerate frontend with gulp service
run: |
docker compose -f docker-compose.yml run web python manage.py collectstatic --no-input
docker compose -f docker-compose.yml up gulp
- name: Check for Changes in Static Files
run: |
if ! git diff --quiet poradnia/static/; then
echo "Static files updated. Preparing to commit changes."
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git add poradnia/static/
git commit -m "Update static files after dependency change"
# Pull the latest changes and rebase local commits
git pull --rebase origin ${{ github.event.pull_request.head.ref }}
# Push the changes to the branch
git push origin HEAD:${{ github.event.pull_request.head.ref }}
else
echo "No changes in static files."
fi
- name: Run unit tests
run: make test
- name: Run e2e tests
run: make e2e
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker compose pull
- name: Build application
run: make build
- name: Build documentation
run: make docs