--- name: "Setup Go with Runner Hardening" description: "Reusable action to set up Go" inputs: token: description: "GitHub token for checkout (optional)" required: false default: "" runs: using: "composite" steps: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: go-version-file: ".go-version" cache: true