adding ShowDesktop action: show/hide all windows of a workspace #476
Workflow file for this run
This file contains hidden or 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 .desktop files | |
| env: | |
| # Stops the `debconf: unable to initialize frontend: {Dialog, Readline, Teletype}` errors | |
| # See https://stackoverflow.com/a/34774096 | |
| DEBIAN_FRONTEND: noninteractive | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ubuntu:25.10 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install desktop-file-utils | |
| run: | | |
| apt-get update | |
| apt-get install -y desktop-file-utils findutils | |
| - name: Validate .desktop files | |
| run: | | |
| set -e | |
| echo "Checking for .desktop files..." | |
| files=$(find . -type f -name "*.desktop") | |
| if [ -z "$files" ]; then | |
| echo "No .desktop files found." | |
| exit 0 | |
| fi | |
| echo "$files" | while read -r file; do | |
| echo "Validating: $file" | |
| desktop-file-validate "$file" | |
| done |