ci: bump github/codeql-action from 4.37.4 to 4.37.7 #455
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: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| container: fedora:44 | |
| env: | |
| DWM_TEST_TMP_ROOT: /var/tmp/dwm-titus-tests | |
| steps: | |
| - name: Install checkout dependency | |
| run: dnf install -y --setopt=install_weak_deps=False git | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Trust the container checkout | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| - name: Install build and validation dependencies | |
| run: | | |
| dnf install -y --setopt=install_weak_deps=False \ | |
| gcc make diffutils dbus-daemon \ | |
| pkgconf-pkg-config ShellCheck shfmt pykickstart \ | |
| xorg-x11-server-Xvfb xdotool xprop xset \ | |
| libX11-devel libXft-devel libXinerama-devel libXrender-devel \ | |
| imlib2-devel libxcb-devel xcb-util-devel \ | |
| fontconfig-devel freetype-devel | |
| - name: Validate | |
| run: scripts/run-tests | |
| - name: Validate nested X11 runtime | |
| run: scripts/run-tests make check-xvfb-runtime check-monitor-tags | |
| clang-build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| container: fedora:44 | |
| steps: | |
| - name: Install checkout dependency | |
| run: dnf install -y --setopt=install_weak_deps=False git | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Install Clang and build dependencies | |
| run: | | |
| dnf install -y --setopt=install_weak_deps=False \ | |
| clang make pkgconf-pkg-config \ | |
| libX11-devel libXft-devel libXinerama-devel libXrender-devel \ | |
| imlib2-devel libxcb-devel xcb-util-devel \ | |
| fontconfig-devel freetype-devel | |
| - name: Build with Clang | |
| run: make clean all CC=clang | |
| fedora-smoke: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Validate Fedora 44 | |
| env: | |
| CONTAINER_ENGINE: docker | |
| DWM_CONTAINER_FEDORA_IMAGE: fedora:44 | |
| run: scripts/run-tests make check-container-smoke | |
| quickshell-qml: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| container: fedora:44 | |
| steps: | |
| - name: Install checkout dependency | |
| run: dnf install -y --setopt=install_weak_deps=False git | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Install Quickshell QML lint dependencies | |
| run: dnf install -y --setopt=install_weak_deps=False make quickshell qt6-qtdeclarative-devel | |
| - name: Validate Quickshell QML | |
| run: scripts/run-tests make check-quickshell-qml |