Skip to content

Commit ab8a683

Browse files
🌱 (ci) fix samples linter and release linter (#4965)
(ci) fix samples linter and release linter
1 parent 158a652 commit ab8a683

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/lint-sample.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ name: Lint Samples
22

33
on:
44
push:
5-
- 'testdata/**'
6-
- 'docs/book/src/cronjob-tutorial/testdata/project/**'
7-
- 'docs/book/src/getting-started/testdata/project/**'
8-
- 'docs/book/src/multiversion-tutorial/testdata/project/**'
9-
- '.github/workflows/lint-sample.yml'
5+
paths:
6+
- 'testdata/**'
7+
- 'docs/book/src/**/testdata/**'
8+
- '.github/workflows/lint-sample.yml'
109
pull_request:
1110
paths:
1211
- 'testdata/**'
13-
- 'docs/book/src/cronjob-tutorial/testdata/project/**'
14-
- 'docs/book/src/getting-started/testdata/project/**'
15-
- 'docs/book/src/multiversion-tutorial/testdata/project/**'
12+
- 'docs/book/src/**/testdata/**'
1613
- '.github/workflows/lint-sample.yml'
1714

1815
jobs:

.github/workflows/release-version-ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ name: Test GoReleaser and CLI Version
33
on:
44
push:
55
paths:
6-
- 'pkg/cmd/**'
6+
- 'pkg/**'
7+
- 'cmd/**'
78
- 'build/.goreleaser.yml'
89
- '.github/workflows/release-version-ci.yml'
910
pull_request:
1011
paths:
11-
- 'pkg/cmd/**'
12+
- 'pkg/**'
13+
- 'cmd/**'
1214
- 'build/.goreleaser.yml'
1315
- '.github/workflows/release-version-ci.yml'
1416

1517
jobs:
16-
mock-build:
18+
go-releaser-test:
1719
runs-on: ubuntu-latest
1820

1921
steps:

0 commit comments

Comments
 (0)