Setup GDScript Formatter
July 20, 2026 ยท View on GitHub
A GitHub Action to install a specific version of GDScript Formatter with optional caching support.
Inputs
| Name | Description | Default |
|---|---|---|
version | Version of GDScript Formatter to install. | - |
cache | Whether to cache the GDScript Formatter installation. | false |
Cache
Set cache to true to enable caching and avoid downloading the same version on every workflow run.
with:
cache: true
Supported Platforms
This action supports the following platforms:
| OS | Architecture |
|---|---|
| Linux | x86_64 |
| Linux | aarch64 |
| macOS | x86_64 |
| macOS | aarch64 |
| Windows | x86_64 |
| Windows | aarch64 |
Example Workflow
name: Format Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
format:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup GDScript Formatter
uses: Modern-Arts-Research-Stories-Next/setup-gdscript-formatter@v1
with:
version: 0.21.0
cache: true
- name: Verify version
run: gdscript-formatter --version