This repository was archived by the owner on Aug 16, 2026. It is now read-only.
Update actions versions in ci.yml #17
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: Core CI - Build & Code Quality | |
| on: | |
| push: | |
| branches: [ "testing", "my_dwm" ] | |
| pull_request: | |
| branches: [ "testing", "my_dwm" ] | |
| schedule: | |
| # Runs every day at 10:00 UTC | |
| # (Matches 13:00 Bucharest time during Daylight Saving / EEST) | |
| - cron: '0 10 * * *' | |
| workflow_dispatch: # Allows you to manually trigger this workflow anytime from the Actions tab | |
| jobs: | |
| build: | |
| name: Compilation Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Install X11 & Development Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential libx11-dev libxft-dev libxinerama-dev pkg-config | |
| - name: Environment Pre-Check | |
| run: | | |
| gcc --version | |
| make --version | |
| pkg-config --cflags --libs x11 xft xinerama | |
| - name: Build Binary | |
| run: | | |
| # Automatically fall back to config.def.h if config.h isn't committed yet | |
| if [ ! -f config.h ]; then | |
| cp config.def.h config.h | |
| fi | |
| make clean dwm | |
| script-lint: | |
| name: Lint Custom Shell Scripts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@00b27aa7cb85167568cb48a3838b75f4265f2bca | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheckcheckout@v4 | |
| with: | |
| scandir: '.' | |
| env: | |
| SHELLCHECK_OPTS: -e SC2009 # Ignore optional minor processes alerts if desired |