GitHub Actions Workflow Generator

Create a GitHub Actions CI workflow for Node, Python, Go, Java, Rust or Docker, with tests, caching and a version matrix.

Runs in your browser. Nothing is uploaded.

Operating systems
When to run
Commands leave empty to skip a step

    How to use the GitHub Actions Workflow Generator

    1. Choose your project type, such as Node.js, Python, Go, Java, Rust, .NET or a Docker image.
    2. Enter the versions to test and pick operating systems. More than one creates a matrix that runs every combination.
    3. Choose when the workflow runs, such as on pushes to main, on pull requests, by hand or on a schedule, and check the commands.
    4. Download the file and save it as .github/workflows/ci.yml in your repository, then push.

    Continuous integration in one file

    GitHub Actions runs commands on GitHub’s servers whenever something happens in your repository. The most common use is continuous integration: every push and pull request is installed, linted, tested and built automatically, so problems show up before they are merged. A workflow is a YAML file, and small mistakes in indentation or action names stop it from running. This generator writes a working one for you.

    What the workflow does

    1. Triggers: pushes to the branches you list, every pull request, a manual “Run workflow” button and an optional schedule in cron syntax (times are in UTC).
    2. Checkout and setup: fetches your code and installs the language with the official setup action, with dependency caching turned on.
    3. Your commands: install, lint, test and build, each as a named step so you can see at a glance which one failed. Leave a command empty to skip it.
    4. Matrix: several versions or operating systems run side by side, and fail-fast: false lets all of them finish so you see every failure at once.

    For Docker images, the workflow builds with Buildx and, if you choose, pushes to GitHub Container Registry with tags based on branches and releases, but never from pull requests.

    Good habits built in

    The workflow’s token is limited to reading your code. “Cancel older runs” stops a previous run on the same branch when you push again, which saves minutes on busy branches. Version numbers are quoted, so 3.10 stays Python 3.10 instead of becoming 3.1.

    Adjust and extend

    Use the file as a base: add a deployment job that runs after build, upload test reports as artifacts, or add secrets for services your tests need. Action versions are current major releases, so you receive fixes automatically.

    Private

    Nothing is sent anywhere. Build the schedule with the Cron Expression Generator, check YAML with the YAML Viewer, Formatter & Validator, and package your app with the Dockerfile Generator.

    Frequently asked questions

    Where do I put the workflow file?

    In the .github/workflows folder at the root of your repository. Any .yml file there is a workflow. Push it and open the Actions tab on GitHub to watch it run.

    What is a matrix?

    A matrix runs the same job several times with different settings, for example Node.js 22 and 24 on Linux and Windows, which gives four runs in parallel. It catches problems that only appear on one version or system.

    Are dependencies cached?

    Yes. The setup actions for Node.js, Python, Go and Java cache downloaded packages between runs, Rust uses rust-cache, and Docker builds use the GitHub Actions cache. This often cuts minutes off each run.

    Why does the file set permissions to read only?

    By default a workflow’s token may be allowed to write to your repository. Limiting it to contents: read means a compromised step can’t push code. The Docker option adds packages: write only so it can publish images.

    Is my configuration uploaded?

    No. The workflow is written in your browser. GitHub only sees it when you push it yourself.

    Tutorials