Skip to content

Commit 88beb84

Browse files
committed
polish openinsight-release-packages.yaml
Signed-off-by: Jared Tan <[email protected]>
1 parent 26d8ece commit 88beb84

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/openinsight-release-packages.yaml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,26 +51,15 @@ jobs:
5151
VERSION=$(yq e '.module-sets.contrib-base.version' versions.yaml)
5252
echo "VERSION=$VERSION" >> $GITHUB_ENV
5353
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
54+
id: go-setup
5455
with:
55-
go-version: 1.23.10
56-
cache: false
57-
- name: Cache Go
58-
id: go-cache
59-
timeout-minutes: 5
60-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
61-
with:
62-
path: |
63-
~/go/bin
64-
~/go/pkg/mod
65-
./.tools
66-
key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
67-
# refs: https://github.com/FuelLabs/fuel.nix/pull/121
68-
- uses: jlumbroso/free-disk-space@main
56+
go-version: oldstable
57+
cache-dependency-path: "**/*.sum"
6958
- name: Install dependencies
70-
#if: steps.go-cache.outputs.cache-hit != 'true'
59+
if: steps.go-setup.outputs.cache-hit != 'true'
7160
run: make -j2 gomoddownload
7261
- name: Install Tools
73-
#if: steps.go-cache.outputs.cache-hit != 'true'
62+
if: steps.go-setup.outputs.cache-hit != 'true'
7463
run: make install-tools
7564
- name: Login to GitHub Package Registry
7665
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1

0 commit comments

Comments
 (0)