Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f452cd

Browse files
committed
fixup! ci: add check for Go version consistency
1 parent7de5dd6 commit6f452cd

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
name:Run Integration Tests
2020
runs-on:ubuntu-latest
2121
steps:
22+
-name:Check out code into the Go module directory
23+
uses:actions/checkout@v5
24+
2225
-name:Check Go Versions
2326
run:./scripts/check_go_version.sh
2427

@@ -28,9 +31,6 @@ jobs:
2831
go-version:"1.24.2"
2932
id:go
3033

31-
-name:Check out code into the Go module directory
32-
uses:actions/checkout@v5
33-
3434
-name:Get dependencies
3535
run:|
3636
go mod download
@@ -77,12 +77,12 @@ jobs:
7777
-name:Checkout
7878
uses:actions/checkout@v5
7979

80-
-name:Unshallow
81-
run:git fetch --prune --unshallow
82-
8380
-name:Check Go Versions
8481
run:./scripts/check_go_version.sh
8582

83+
-name:Unshallow
84+
run:git fetch --prune --unshallow
85+
8686
-name:Set up Go
8787
uses:actions/setup-go@v5
8888
with:

‎.github/workflows/test.yml‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
runs-on:ubuntu-latest
2020
timeout-minutes:5
2121
steps:
22+
-name:Check out code into the Go module directory
23+
uses:actions/checkout@v5
24+
2225
-name:Check Go Versions
2326
run:./scripts/check_go_version.sh
2427

@@ -28,9 +31,6 @@ jobs:
2831
go-version:"1.24.2"
2932
id:go
3033

31-
-name:Check out code into the Go module directory
32-
uses:actions/checkout@v5
33-
3434
-name:Get dependencies
3535
run:|
3636
go mod download
@@ -95,6 +95,12 @@ jobs:
9595
-"1.10.*"
9696
-"1.11.*"
9797
steps:
98+
-name:Check out code into the Go module directory
99+
uses:actions/checkout@v5
100+
101+
-name:Check Go Versions
102+
run:./scripts/check_go_version.sh
103+
98104
-name:Set up Go
99105
uses:actions/setup-go@v5
100106
with:
@@ -106,9 +112,6 @@ jobs:
106112
terraform_version:${{ matrix.terraform }}
107113
terraform_wrapper:false
108114

109-
-name:Check out code into the Go module directory
110-
uses:actions/checkout@v5
111-
112115
-name:Get dependencies
113116
run:|
114117
go mod download
@@ -125,6 +128,9 @@ jobs:
125128
runs-on:ubuntu-latest
126129
timeout-minutes:5
127130
steps:
131+
-name:Check out code into the Go module directory
132+
uses:actions/checkout@v5
133+
128134
-name:Check Go Versions
129135
run:./scripts/check_go_version.sh
130136

@@ -139,9 +145,6 @@ jobs:
139145
terraform_version:"latest"
140146
terraform_wrapper:false
141147

142-
-name:Check out code into the Go module directory
143-
uses:actions/checkout@v5
144-
145148
-name:Get dependencies
146149
run:|
147150
go mod download

‎scripts/check_go_version.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ for wf in .github/workflows/*.yml; do
2929
echo"$wf matches go.mod ($MOD_VERSION)"
3030
done
3131

32-
echo"✅ All workflows consistent with go.mod ($MOD_VERSION)"
32+
echo"✅ All workflows consistent with go.mod ($MOD_VERSION)"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp