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

NameDescriptionDefault
versionVersion of GDScript Formatter to install.-
cacheWhether 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:

OSArchitecture
Linuxx86_64
Linuxaarch64
macOSx86_64
macOSaarch64
Windowsx86_64
Windowsaarch64

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