Skip to content

Commit a700405

Browse files
committed
chore: refactor ci workflow
1 parent eb99ae7 commit a700405

File tree

7 files changed

+60
-82
lines changed

7 files changed

+60
-82
lines changed

.github/workflows/codespell.yml

-13
This file was deleted.

.github/workflows/editorconfig-checker.yml

-13
This file was deleted.

.github/workflows/files.yml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
name: Files Lint
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read # for actions/checkout to fetch code
11+
12+
jobs:
13+
yamllint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: checkout-action
17+
uses: actions/[email protected]
18+
19+
- name: yamllint
20+
uses: ibiqlik/action-yamllint@v3
21+
22+
typos-cli:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: checkout-action
26+
uses: actions/[email protected]
27+
28+
- name: typos-action
29+
uses: crate-ci/[email protected]
30+
31+
markdownlint:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: checkout-action
35+
uses: actions/[email protected]
36+
37+
- name: markdownlint-cli2-action
38+
uses: DavidAnson/[email protected]
39+
40+
editorconfig-checker:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: checkout-action
44+
uses: actions/[email protected]
45+
46+
- name: editorconfig-checker-action
47+
uses: editorconfig-checker/action-editorconfig-checker@v2
48+
49+
vale:
50+
runs-on: ubuntu-latest
51+
steps:
52+
- name: checkout-action
53+
uses: actions/checkout@v4
54+
55+
# mitigate some issues with the vale-action
56+
- name: Install Asciidoctor
57+
run: sudo apt-get install -y asciidoctor
58+
59+
- name: vale-action
60+
uses: errata-ai/vale-action@v2

.github/workflows/markdownlint.yml

-13
This file was deleted.

.github/workflows/typos-cli.yml

-13
This file was deleted.

.github/workflows/vale.yml

-17
This file was deleted.

.github/workflows/yamllint.yml

-13
This file was deleted.

0 commit comments

Comments
 (0)