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:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.go'
|
||||
- '**.sh'
|
||||
- '**.bash'
|
||||
- '**.cue'
|
||||
- 'docs/**'
|
||||
- '.golangci.yml'
|
||||
- 'Makefile'
|
||||
- 'README.md'
|
||||
- '.github/workflows/lint.yml'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.go'
|
||||
- '**.sh'
|
||||
- '**.bash'
|
||||
- '**.cue'
|
||||
- 'docs/**'
|
||||
- '.golangci.yml'
|
||||
- 'Makefile'
|
||||
- 'README.md'
|
||||
- '.github/workflows/lint.yml'
|
||||
|
||||
jobs:
|
||||
everything:
|
||||
|
12
.github/workflows/test-docs.yml
vendored
12
.github/workflows/test-docs.yml
vendored
@ -3,8 +3,20 @@ name: "Test Docs"
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.go'
|
||||
- '**.cue'
|
||||
- 'docs/**'
|
||||
- 'Makefile'
|
||||
- '.github/workflows/test-docs.yml'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.go'
|
||||
- '**.cue'
|
||||
- 'docs/**'
|
||||
- 'Makefile'
|
||||
- '.github/workflows/test-docs.yml'
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
|
18
.github/workflows/test-integration.yml
vendored
18
.github/workflows/test-integration.yml
vendored
@ -3,8 +3,26 @@ name: "Test Integration"
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.sh'
|
||||
- '**.bash'
|
||||
- '**.go'
|
||||
- '**.cue'
|
||||
- 'Makefile'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- '.github/workflows/test-integration.yml'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.sh'
|
||||
- '**.bash'
|
||||
- '**.go'
|
||||
- '**.cue'
|
||||
- 'Makefile'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- '.github/workflows/test-integration.yml'
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
|
12
.github/workflows/test-unit.yml
vendored
12
.github/workflows/test-unit.yml
vendored
@ -3,8 +3,20 @@ name: "Test Unit"
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'Makefile'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- '.github/workflows/test-unit.yml'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'Makefile'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- '.github/workflows/test-unit.yml'
|
||||
|
||||
jobs:
|
||||
unit:
|
||||
|
18
.github/workflows/test-universe.yml
vendored
18
.github/workflows/test-universe.yml
vendored
@ -3,8 +3,26 @@ name: "Test Universe"
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.sh'
|
||||
- '**.bash'
|
||||
- '**.go'
|
||||
- '**.cue'
|
||||
- 'Makefile'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- '.github/workflows/test-universe.yml'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '**.sh'
|
||||
- '**.bash'
|
||||
- '**.go'
|
||||
- '**.cue'
|
||||
- 'Makefile'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- '.github/workflows/test-universe.yml'
|
||||
|
||||
jobs:
|
||||
universe:
|
||||
|
Reference in New Issue
Block a user