1
0
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:
Delyan Angelov 2022-08-26 21:07:29 +03:00
parent 511cc2b267
commit a1e87664f4
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
6 changed files with 30 additions and 4 deletions

View File

@ -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/**"

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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:

View File

@ -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: