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

Commit16ece5e

Browse files
docs: clarify that ’args: --path-mode=abs’ is needed for working-directory (#1230)
1 parenta3942e2 commit16ece5e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ on:
120120
121121
env:
122122
GO_VERSION: stable
123-
GOLANGCI_LINT_VERSION: v2.0
123+
GOLANGCI_LINT_VERSION: v2.1
124124
125125
jobs:
126126
detect-modules:
@@ -151,6 +151,7 @@ jobs:
151151
with:
152152
version: ${{ env.GOLANGCI_LINT_VERSION }}
153153
working-directory: ${{ matrix.modules }}
154+
args: --path-mode=abs
154155
```
155156

156157
</details>
@@ -179,7 +180,7 @@ jobs:
179180
with:
180181
os: ${{ matrix.os }}
181182
go-version: ${{ matrix.go-version }}
182-
golangci-lint-version: v2.0
183+
golangci-lint-version: v2.1
183184
```
184185

185186
```yaml
@@ -201,7 +202,7 @@ on:
201202
golangci-lint-version:
202203
description: 'Golangci-lint version'
203204
type: string
204-
default: 'v2.0'
205+
default: 'v2.1'
205206
206207
jobs:
207208
detect-modules:
@@ -233,6 +234,7 @@ jobs:
233234
with:
234235
version: ${{ inputs.golangci-lint-version }}
235236
working-directory: ${{ matrix.modules }}
237+
args: --path-mode=abs
236238
```
237239

238240
You will also likely need to add the following `.gitattributes` file to ensure that line endings for Windows builds are properly formatted:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp