mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: minimise work on commits/PRs, that affect only .yml files
This commit is contained in:
parent
511cc2b267
commit
a1e87664f4
2
.github/workflows/c2v.yml
vendored
2
.github/workflows/c2v.yml
vendored
@ -4,12 +4,14 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
- "doc/**"
|
- "doc/**"
|
||||||
- "examples/**"
|
- "examples/**"
|
||||||
- "tutorials/**"
|
- "tutorials/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
- "doc/**"
|
- "doc/**"
|
||||||
- "examples/**"
|
- "examples/**"
|
||||||
- "tutorials/**"
|
- "tutorials/**"
|
||||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -4,9 +4,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: build-ci-${{ github.event.pull_request.number || github.sha }}
|
group: build-ci-${{ github.event.pull_request.number || github.sha }}
|
||||||
|
6
.github/workflows/ci_sanitized.yml
vendored
6
.github/workflows/ci_sanitized.yml
vendored
@ -39,6 +39,9 @@ on:
|
|||||||
- 'vlib/v/markused/**.v'
|
- 'vlib/v/markused/**.v'
|
||||||
- 'vlib/v/preludes/**.v'
|
- 'vlib/v/preludes/**.v'
|
||||||
- 'vlib/v/embed_file/**.v'
|
- 'vlib/v/embed_file/**.v'
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- '!**'
|
- '!**'
|
||||||
@ -66,6 +69,9 @@ on:
|
|||||||
- 'vlib/v/markused/**.v'
|
- 'vlib/v/markused/**.v'
|
||||||
- 'vlib/v/preludes/**.v'
|
- 'vlib/v/preludes/**.v'
|
||||||
- 'vlib/v/embed_file/**.v'
|
- 'vlib/v/embed_file/**.v'
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: build-sanitized-${{ github.event.pull_request.number || github.sha }}
|
group: build-sanitized-${{ github.event.pull_request.number || github.sha }}
|
||||||
|
2
.github/workflows/containers_ci.yml
vendored
2
.github/workflows/containers_ci.yml
vendored
@ -4,9 +4,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: build-containers-${{ github.event.pull_request.number || github.sha }}
|
group: build-containers-${{ github.event.pull_request.number || github.sha }}
|
||||||
|
16
.github/workflows/docs_ci.yml
vendored
16
.github/workflows/docs_ci.yml
vendored
@ -1,8 +1,16 @@
|
|||||||
name: Docs CI
|
name: Docs CI
|
||||||
|
|
||||||
### Run on *EVERY* commit. The documentation *SHOULD* stay valid, and
|
### Run on *EVERY* .v or .md related commit.
|
||||||
### the developers should receive early warning if they break it.
|
### The documentation *SHOULD* stay valid, and the developers should receive
|
||||||
on: [push, pull_request]
|
### early warning, if they break it.
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- "**.yml"
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- "**.yml"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-markdown:
|
check-markdown:
|
||||||
@ -31,7 +39,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: vlang/v
|
repository: vlang/v
|
||||||
ref: master # important
|
ref: master # important
|
||||||
path: pv
|
path: pv
|
||||||
|
|
||||||
- name: Check against parent commit
|
- name: Check against parent commit
|
||||||
|
6
.github/workflows/sdl_ci.yml
vendored
6
.github/workflows/sdl_ci.yml
vendored
@ -4,9 +4,15 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- "**.yml"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: sdl-ci-${{ github.event.pull_request.number || github.sha }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
v-compiles-sdl-examples:
|
v-compiles-sdl-examples:
|
||||||
|
Loading…
Reference in New Issue
Block a user