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:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
- "doc/**"
|
||||
- "examples/**"
|
||||
- "tutorials/**"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
- "doc/**"
|
||||
- "examples/**"
|
||||
- "tutorials/**"
|
||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -4,9 +4,11 @@ on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
|
||||
concurrency:
|
||||
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/preludes/**.v'
|
||||
- 'vlib/v/embed_file/**.v'
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- '!**'
|
||||
@ -66,6 +69,9 @@ on:
|
||||
- 'vlib/v/markused/**.v'
|
||||
- 'vlib/v/preludes/**.v'
|
||||
- 'vlib/v/embed_file/**.v'
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
|
||||
concurrency:
|
||||
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:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
|
||||
concurrency:
|
||||
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
|
||||
|
||||
### Run on *EVERY* commit. The documentation *SHOULD* stay valid, and
|
||||
### the developers should receive early warning if they break it.
|
||||
on: [push, pull_request]
|
||||
### Run on *EVERY* .v or .md related commit.
|
||||
### The documentation *SHOULD* stay valid, and the developers should receive
|
||||
### early warning, if they break it.
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.yml"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.yml"
|
||||
|
||||
jobs:
|
||||
check-markdown:
|
||||
@ -31,7 +39,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: vlang/v
|
||||
ref: master # important
|
||||
ref: master # important
|
||||
path: pv
|
||||
|
||||
- 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:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
|
||||
concurrency:
|
||||
group: sdl-ci-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
v-compiles-sdl-examples:
|
||||
|
Loading…
Reference in New Issue
Block a user