Skip to content

Commit e3e418b

Browse files
authored
Merge pull request #932 from per1234/correct-go_mod
Use relevant metadata file when determining framework dependency versions
2 parents c784475 + 512c586 commit e3e418b

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

.github/workflows/check-go-dependencies-task.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
with:
6969
submodules: recursive
7070

71-
# This is required to allow licensee/setup-licensed to install licensed via Ruby gem.
71+
# This is required to allow licensee/setup-licensed to install Licensed via Ruby gem.
7272
- name: Install Ruby
7373
uses: ruby/setup-ruby@v1
7474
with:
@@ -135,7 +135,7 @@ jobs:
135135
with:
136136
submodules: recursive
137137

138-
# This is required to allow licensee/setup-licensed to install licensed via Ruby gem.
138+
# This is required to allow licensee/setup-licensed to install Licensed via Ruby gem.
139139
- name: Install Ruby
140140
uses: ruby/setup-ruby@v1
141141
with:

.github/workflows/check-go-task.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
matrix:
6464
module:
65-
- path: ./
65+
- path: .
6666
- path: docsgen
6767
- path: ruledocsgen
6868

@@ -99,7 +99,7 @@ jobs:
9999

100100
matrix:
101101
module:
102-
- path: ./
102+
- path: .
103103
- path: docsgen
104104
- path: ruledocsgen
105105

@@ -110,7 +110,7 @@ jobs:
110110
- name: Install Go
111111
uses: actions/setup-go@v6
112112
with:
113-
go-version-file: go.mod
113+
go-version-file: ${{ matrix.module.path }}/go.mod
114114

115115
- name: Install Task
116116
uses: arduino/setup-task@v2
@@ -142,7 +142,7 @@ jobs:
142142

143143
matrix:
144144
module:
145-
- path: ./
145+
- path: .
146146
- path: docsgen
147147
- path: ruledocsgen
148148

@@ -153,7 +153,7 @@ jobs:
153153
- name: Install Go
154154
uses: actions/setup-go@v6
155155
with:
156-
go-version-file: go.mod
156+
go-version-file: ${{ matrix.module.path }}/go.mod
157157

158158
- name: Install Task
159159
uses: arduino/setup-task@v2
@@ -185,7 +185,7 @@ jobs:
185185

186186
matrix:
187187
module:
188-
- path: ./
188+
- path: .
189189
- path: docsgen
190190
- path: ruledocsgen
191191

@@ -196,7 +196,7 @@ jobs:
196196
- name: Install Go
197197
uses: actions/setup-go@v6
198198
with:
199-
go-version-file: go.mod
199+
go-version-file: ${{ matrix.module.path }}/go.mod
200200

201201
- name: Install Task
202202
uses: arduino/setup-task@v2
@@ -228,7 +228,7 @@ jobs:
228228

229229
matrix:
230230
module:
231-
- path: ./
231+
- path: .
232232
- path: docsgen
233233
- path: ruledocsgen
234234

@@ -239,7 +239,7 @@ jobs:
239239
- name: Install Go
240240
uses: actions/setup-go@v6
241241
with:
242-
go-version-file: go.mod
242+
go-version-file: ${{ matrix.module.path }}/go.mod
243243

244244
- name: Install Task
245245
uses: arduino/setup-task@v2

.github/workflows/check-license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565

6666
matrix:
6767
check-license:
68-
- path: ./
68+
- path: .
6969
expected-filename: LICENSE.txt
7070
# SPDX identifier: https://spdx.org/licenses/
7171
expected-type: GPL-3.0

.github/workflows/check-npm-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
- name: Setup Node.js
108108
uses: actions/setup-node@v5
109109
with:
110-
node-version-file: package.json
110+
node-version-file: "${{ matrix.project.path }}/package.json"
111111

112112
- name: Install Task
113113
uses: arduino/setup-task@v2

.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Create all generated documentation content
8282
run: task docs:generate
8383

84-
- name: Install Python dependencies
84+
- name: Install Dependencies
8585
run: task poetry:install-deps
8686

8787
- name: Determine versioning parameters

.github/workflows/test-go-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- windows-latest
7474
- macos-latest
7575
module:
76-
- path: ./
76+
- path: .
7777
codecov-flags: unit
7878
- path: ruledocsgen/
7979
codecov-flags: unit

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ vars:
99
PROJECT_NAME: "arduino-lint"
1010
DIST_DIR: "dist"
1111
# Path of the project's primary Go module:
12-
DEFAULT_GO_MODULE_PATH: ./
12+
DEFAULT_GO_MODULE_PATH: .
1313
DEFAULT_GO_PACKAGES: |
1414
$( \
1515
go list \

0 commit comments

Comments
 (0)