chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.7… #1070
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 # v4 | |
# Remove non-installable git packages. There git-svn can not be installed | |
# because the image contains newer versions which do not have matching git-svn | |
# in enabled repositories. | |
- name: APT cleanup | |
run: sudo apt-get purge git git-man | |
- name: Exim | |
run: sudo ./configure-system | |
- name: Bootstrap | |
run: | | |
sudo ./bootstrap <<EOT | |
weblate.example.com | |
example | |
CI Weblate | |
https://[email protected]/123 | |
0 | |
TOKEN | |
EOT | |
cat /etc/weblate-bootstrap | |
- name: Exim | |
run: sudo ./install-exim | |
- name: PostgreSQL | |
run: sudo ./install-posgtresql | |
- name: Weblate | |
run: sudo ./install-weblate --nocert | |
- name: Munin | |
run: sudo ./install-munin | |
- name: Upgrade | |
run: sudo ./upgrade-weblate --nodiff | |
- name: Upgrade (lazy restart) | |
run: sudo ./upgrade-weblate --nodiff --lazy-restart | |
- name: Migrate | |
run: sudo ./migrate-docker --nomail | |
- name: Logs | |
if: always() | |
run: | | |
cd /home/weblate/weblate | |
docker compose logs | |
docker: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 # v4 | |
# Remove non-installable git packages. There git-svn can not be installed | |
# because the image contains newer versions which do not have matching git-svn | |
# in enabled repositories. | |
- name: APT cleanup | |
run: sudo apt-get purge git git-man | |
- name: Exim | |
run: sudo ./configure-system | |
- name: Bootstrap | |
run: | | |
sudo ./bootstrap <<EOT | |
weblate.example.com | |
example | |
CI Weblate | |
https://[email protected]/123 | |
0 | |
TOKEN | |
EOT | |
cat /etc/weblate-bootstrap | |
- name: Docker | |
run: sudo ./install-docker | |
- name: Exim | |
run: sudo ./install-exim | |
- name: Weblate | |
run: sudo ./install-weblate-docker --nocert --nomail | |
- name: Upgrade | |
run: sudo ./upgrade-weblate | |
- name: Logs | |
if: always() | |
run: | | |
cd /home/weblate/weblate | |
docker compose logs |