Skip to content

Commit 5a5a68e

Browse files
committed
use golang version from go.mod in github actions
1 parent 5c4290d commit 5a5a68e

6 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v4
1818
with:
19-
go-version: '1.25.0'
19+
go-version-file: 'go.mod'
2020

2121
- name: Cache Go modules
2222
uses: actions/cache@v4
@@ -68,7 +68,7 @@ jobs:
6868
- name: Set up Go
6969
uses: actions/setup-go@v4
7070
with:
71-
go-version: '1.23.0'
71+
go-version-file: 'go.mod'
7272

7373
- name: Cache Go modules
7474
uses: actions/cache@v4

.github/workflows/validation-aws.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v4
2727
with:
28-
go-version: "1.23.0"
28+
go-version-file: 'go.mod'
2929

3030
- name: Cache Go modules
3131
uses: actions/cache@v4

.github/workflows/validation-lambdalabs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v4
2727
with:
28-
go-version: '1.23.0'
28+
go-version-file: 'go.mod'
2929

3030
- name: Cache Go modules
3131
uses: actions/cache@v4

.github/workflows/validation-nebius.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v4
2727
with:
28-
go-version: "1.23.0"
28+
go-version-file: 'go.mod'
2929

3030
- name: Cache Go modules
3131
uses: actions/cache@v4

.github/workflows/validation-shadeform.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name: Shadeform Validation Tests
33
on:
44
schedule:
55
# Run daily at 2 AM UTC
6-
- cron: '0 2 * * *'
6+
- cron: "0 2 * * *"
77
workflow_dispatch:
88
# Allow manual triggering
99
pull_request:
1010
paths:
11-
- 'v1/providers/shadeform/**'
12-
- 'internal/validation/**'
13-
- 'v1/**'
14-
branches: [ main ]
11+
- "v1/providers/shadeform/**"
12+
- "internal/validation/**"
13+
- "v1/**"
14+
branches: [main]
1515

1616
jobs:
1717
shadeform-validation:
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v4
2727
with:
28-
go-version: '1.23.0'
28+
go-version-file: "go.mod"
2929

3030
- name: Cache Go modules
3131
uses: actions/cache@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.env
22
__debug_bin*
33
.idea/*
4+
coverage/*

0 commit comments

Comments
 (0)