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@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 with: go-version-file: ".go-version" cache: true