PICARD-2991: Handle statvfs errors on file rename #986
Workflow file for this run
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: Validate XDG metadata | |
on: | |
push: | |
paths: | |
- '.github/workflows/validate-xdg-metadata.yml' | |
- 'org.musicbrainz.Picard.appdata.xml.in' | |
- 'org.musicbrainz.Picard.desktop.in' | |
- 'po/appstream/*.po' | |
- 'NEWS.md' | |
- 'setup.py' | |
pull_request: | |
jobs: | |
validate-xdg-metadata: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install utils | |
run: | | |
sudo apt-get update | |
sudo apt-get install appstream desktop-file-utils gettext | |
pip install setuptools | |
- name: Validate AppStream metadata | |
run: | | |
python setup.py build_appdata | |
appstreamcli validate --pedantic --explain org.musicbrainz.Picard.appdata.xml | |
- name: Validate desktop file | |
run: | | |
python setup.py build_desktop_file | |
desktop-file-validate org.musicbrainz.Picard.desktop |