-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (49 loc) · 1.32 KB
/
dev_validation.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Validations
on:
pull_request:
types: [opened, edited, synchronize]
concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
no_cyrillic:
if: "!contains(github.event.pull_request.labels.*.name, 'validation/skip/no_cyrillic')"
runs-on: ubuntu-latest
name: Validation no-cyrillic
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.37.2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run validation "No cyrillic"
run: |
task validation:no-cyrillic
doc_changes:
if: "!contains(github.event.pull_request.labels.*.name, 'validation/skip/doc_changes')"
runs-on: ubuntu-latest
name: Validation doc-changes
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.37.2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run validation "Doc changes"
run: |
task validation:doc-changes