Merge pull request #1514 from gerhard/tests-lints-ignore-unrelated-paths
Do not run lint & tests on unrelated file changes
This commit is contained in:
commit
5dfdf5149f
20
.github/workflows/lint.yml
vendored
20
.github/workflows/lint.yml
vendored
@ -3,8 +3,28 @@ name: Lint
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
|
- '**.sh'
|
||||||
|
- '**.bash'
|
||||||
|
- '**.cue'
|
||||||
|
- 'docs/**'
|
||||||
|
- '.golangci.yml'
|
||||||
|
- 'Makefile'
|
||||||
|
- 'README.md'
|
||||||
|
- '.github/workflows/lint.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
|
- '**.sh'
|
||||||
|
- '**.bash'
|
||||||
|
- '**.cue'
|
||||||
|
- 'docs/**'
|
||||||
|
- '.golangci.yml'
|
||||||
|
- 'Makefile'
|
||||||
|
- 'README.md'
|
||||||
|
- '.github/workflows/lint.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
everything:
|
everything:
|
||||||
|
12
.github/workflows/test-docs.yml
vendored
12
.github/workflows/test-docs.yml
vendored
@ -3,8 +3,20 @@ name: "Test Docs"
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
|
- '**.cue'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'Makefile'
|
||||||
|
- '.github/workflows/test-docs.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
|
- '**.cue'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'Makefile'
|
||||||
|
- '.github/workflows/test-docs.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
docs:
|
||||||
|
18
.github/workflows/test-integration.yml
vendored
18
.github/workflows/test-integration.yml
vendored
@ -3,8 +3,26 @@ name: "Test Integration"
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.sh'
|
||||||
|
- '**.bash'
|
||||||
|
- '**.go'
|
||||||
|
- '**.cue'
|
||||||
|
- 'Makefile'
|
||||||
|
- 'go.mod'
|
||||||
|
- 'go.sum'
|
||||||
|
- '.github/workflows/test-integration.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.sh'
|
||||||
|
- '**.bash'
|
||||||
|
- '**.go'
|
||||||
|
- '**.cue'
|
||||||
|
- 'Makefile'
|
||||||
|
- 'go.mod'
|
||||||
|
- 'go.sum'
|
||||||
|
- '.github/workflows/test-integration.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
integration:
|
integration:
|
||||||
|
12
.github/workflows/test-unit.yml
vendored
12
.github/workflows/test-unit.yml
vendored
@ -3,8 +3,20 @@ name: "Test Unit"
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
|
- 'Makefile'
|
||||||
|
- 'go.mod'
|
||||||
|
- 'go.sum'
|
||||||
|
- '.github/workflows/test-unit.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
|
- 'Makefile'
|
||||||
|
- 'go.mod'
|
||||||
|
- 'go.sum'
|
||||||
|
- '.github/workflows/test-unit.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unit:
|
unit:
|
||||||
|
18
.github/workflows/test-universe.yml
vendored
18
.github/workflows/test-universe.yml
vendored
@ -3,8 +3,26 @@ name: "Test Universe"
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.sh'
|
||||||
|
- '**.bash'
|
||||||
|
- '**.go'
|
||||||
|
- '**.cue'
|
||||||
|
- 'Makefile'
|
||||||
|
- 'go.mod'
|
||||||
|
- 'go.sum'
|
||||||
|
- '.github/workflows/test-universe.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- '**.sh'
|
||||||
|
- '**.bash'
|
||||||
|
- '**.go'
|
||||||
|
- '**.cue'
|
||||||
|
- 'Makefile'
|
||||||
|
- 'go.mod'
|
||||||
|
- 'go.sum'
|
||||||
|
- '.github/workflows/test-universe.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
universe:
|
universe:
|
||||||
|
Reference in New Issue
Block a user