Skip to content

Commit 5a92899

Browse files
authored
chore: move samples into fixtures (#1321)
1 parent aa6fad0 commit 5a92899

File tree

24 files changed

+8
-8
lines changed

24 files changed

+8
-8
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- uses: ./
5252
with:
5353
version: ${{ matrix.version }}
54-
args: --timeout=5m --issues-exit-code=0 ./sample/...
54+
args: --timeout=5m --issues-exit-code=0 ./fixtures/simple/...
5555
only-new-issues: true
5656

5757
test-go-install: # make sure the action works on a clean machine without building (go-install mode)
@@ -83,7 +83,7 @@ jobs:
8383
- uses: ./
8484
with:
8585
version: ${{ matrix.version }}
86-
args: --timeout=5m --issues-exit-code=0 ./sample/...
86+
args: --timeout=5m --issues-exit-code=0 ./fixtures/simple/...
8787
only-new-issues: true
8888
install-mode: goinstall
8989

@@ -97,8 +97,8 @@ jobs:
9797
- macos-latest
9898
- windows-latest
9999
wd:
100-
- sample-go-mod
101-
- sample-go-tool
100+
- fixtures/go-mod
101+
- fixtures/go-tool
102102
runs-on: ${{ matrix.os }}
103103
permissions:
104104
contents: read
@@ -144,7 +144,7 @@ jobs:
144144
- uses: ./
145145
with:
146146
version: ${{ matrix.version }}
147-
working-directory: sample-plugins
147+
working-directory: fixtures/plugins
148148
args: --timeout=5m --issues-exit-code=0 ./...
149149

150150
test-monorepo:
@@ -170,6 +170,6 @@ jobs:
170170
go-version: oldstable
171171
- uses: ./
172172
with:
173-
working-directory: sample-monorepo
173+
working-directory: fixtures/monorepo
174174
experimental: "automatic-module-directories"
175175
args: --timeout=5m --issues-exit-code=0 ./...
File renamed without changes.

sample-go-mod/go.mod renamed to fixtures/go-mod/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module sample
1+
module github.com/golangci/sample
22

33
go 1.24.0
44

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

sample-go-tool/go.mod renamed to fixtures/go-tool/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module sample
1+
module github.com/golangci/sample
22

33
go 1.24.0
44

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)