diff --git a/.github/workflows/publish-schema.yaml b/.github/workflows/publish-schema.yaml index 93528b5..2831975 100644 --- a/.github/workflows/publish-schema.yaml +++ b/.github/workflows/publish-schema.yaml @@ -47,11 +47,11 @@ jobs: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Setup Go 1.21.x - uses: actions/setup-go@v5 + - name: Setup Go environment + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - # Semantic version range syntax or exact version of Go - go-version: "1.21.x" + cache: true + go-version-file: schema/go.mod cache-dependency-path: schema/go.mod - name: Export Schema