Skip to content

Commit 88e97ff

Browse files
authored
Merge pull request #432 from zregvart/pr/golang-version-in-schema-workflow
2 parents 7b6dc49 + e01c32b commit 88e97ff

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish-schema.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
- name: Checkout
4848
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949

50-
- name: Setup Go 1.21.x
51-
uses: actions/setup-go@v5
50+
- name: Setup Go environment
51+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
5252
with:
53-
# Semantic version range syntax or exact version of Go
54-
go-version: "1.21.x"
53+
cache: true
54+
go-version-file: schema/go.mod
5555
cache-dependency-path: schema/go.mod
5656

5757
- name: Export Schema

0 commit comments

Comments
 (0)