Skip to content

Commit f3d9910

Browse files
committed
use gomodcache
1 parent 9d782cb commit f3d9910

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/build_custom.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
steps:
1313
- name: 'Checkout'
1414
uses: actions/checkout@v4
15+
- name: 'Setup go'
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version-file: 'go.mod'
19+
cache-dependency-path: 'go.sum'
1520
- name: 'Build'
1621
uses: explore-flights/libduckdb/.github/actions/build_go_custom@main
1722
with:
@@ -23,6 +28,7 @@ jobs:
2328
image_arch: 'aarch64'
2429
platform: 'linux/arm64'
2530
vcpkg_target_triplet: 'arm64-linux'
31+
use_go_cache: 'true'
2632
- name: 'Run App'
2733
run: ./example >> extensions.txt
2834
- name: 'Upload Artifact'

.github/workflows/build_provided.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
steps:
1313
- name: 'Checkout'
1414
uses: actions/checkout@v4
15+
- name: 'Setup go'
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version-file: 'go.mod'
19+
cache-dependency-path: 'go.sum'
1520
- name: 'Build'
1621
uses: explore-flights/libduckdb/.github/actions/build_go_provided@main
1722
with:
@@ -21,6 +26,7 @@ jobs:
2126
image_arch: 'aarch64'
2227
platform: 'linux/arm64'
2328
file: 'libduckdb_bundle-arm64-linux.a'
29+
use_go_cache: 'true'
2430
- name: 'Run App'
2531
run: ./example >> extensions.txt
2632
- name: 'Upload Artifact'

0 commit comments

Comments
 (0)