Update .forgejo/workflows/build.yml
Some checks failed
Test / Check syntax (push) Failing after 3s
Test / Test the application (push) Has been skipped
Test / Build Debian Package (push) Has been skipped

This commit is contained in:
Nova Cat 2025-01-20 18:12:08 -08:00
parent a194a1fda2
commit 381c763a3c

View file

@ -6,9 +6,22 @@ on:
pull_request:
jobs:
syntax:
name: Check syntax
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
uses: apt update && apt install xmllib2
- name: Check syntax of Python file
run: python3 -m py_compile sweecrypt-gtk.py
- name: Check syntax of XML file
run: xmllint --format sweecrypt-gtk.ui
x11:
name: Test the application
runs-on: docker
needs: syntax
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
@ -38,6 +51,7 @@ jobs:
apt:
name: Build Debian Package
runs-on: docker
needs: syntax
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5