Open-source sustainability linter for GitHub Actions
CI/CD pipelines run millions of times daily, consuming significant compute and energy. Most workflows are written without considering their environmental footprint. Small inefficiencies compound at scale — and there’s been no standard tooling to catch them. Until now.
Sustainability Rules
Each rule targets a specific source of waste in GitHub Actions. Follow them to cut unnecessary compute, reduce energy use, and ship with a lighter footprint.
The Tool
An open-source CLI that scans your GitHub Actions workflow YAML files and flags sustainability issues — so you can fix them before they ship.
Point it at your workflow files and get instant feedback. Each issue links back to a sustainability guideline with a clear fix.
# Option 1 — Download a prebuilt binary (recommended)
# 1. Download from GitHub Releases
# Choose the correct file for your system:
# Linux (x86_64): suslint-x86_64-linux
# Linux (ARM): suslint-aarch64-linux
# macOS (Intel): suslint-x86_64-darwin
# macOS (Apple Silicon): suslint-aarch64-darwin
# Windows: suslint-x86_64-windows.exe
# 2. Make executable (Linux/macOS)
chmod +x suslint-*
# 3. Move to PATH (optional)
sudo mv suslint-* /usr/local/bin/suslint
# Run the tool
suslint
# Option 2 — Install with pip (Python 3.11+ required)
# Clone the repository
git clone https://github.com/KaspervanM/sustainable-gh-workflow-linter.git
cd sustainable-gh-workflow-linter
# Install globally
sudo pip install .
# OR install locally
pip install --user .
# OR use a virtual environment
python -m venv .venv
source .venv/bin/activate
python -m pip install .
# Run the tool
suslint
# Option 3 — Use Nix
# Run without installing
nix run github:KaspervanM/sustainable-gh-workflow-linter
# Install permanently
nix profile install github:KaspervanM/sustainable-gh-workflow-linter
# Build locally
nix build github:KaspervanM/sustainable-gh-workflow-linter
# Verify installation
suslint --help
# If using Nix
nix run github:KaspervanM/sustainable-gh-workflow-linter -- --help