From e01c32baa65962358ddb6948099d4e8e11f4a13e Mon Sep 17 00:00:00 2001 From: Zoran Regvart Date: Wed, 20 Nov 2024 15:39:49 +0100 Subject: [PATCH] Proper golang version in publish-schema workflow --- .github/workflows/publish-schema.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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