Add working desktop file validation as CI action

Ubuntu 24.04 does not have the updated desktop-file-utils with support
for the COSMIC keyword (>= 0.28). Use Ubuntu 25.10 for this.
This commit is contained in:
Ryan Brue 2025-11-03 21:08:59 -06:00
parent a0d12ec6e5
commit b326cc25ed
2 changed files with 37 additions and 3 deletions

View file

@ -15,8 +15,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update; sudo apt-get install desktop-file-utils libclang-dev libglib2.0-dev libxkbcommon-dev
# Disable until GitHub Actions uses Ubuntu 26.04.
# - run: desktop-file-validate --no-hints ./res/com.system76.CosmicFiles.desktop
- run: sudo apt-get update; sudo apt-get install libclang-dev libglib2.0-dev libxkbcommon-dev
- run: rustup update stable && rustup default stable
- run: cargo test --verbose