name: "Go test" description: "Tests go code" inputs: GO_VERSION: description: "Go version to use" required: true runs: using: "composite" steps: - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - name: "Install go" uses: actions/setup-go@v5 with: go-version: ${{ inputs.GO_VERSION }} - name: "Print go version" run: go version - name: Test everything run: go test ./...