Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1fa2aa9

Browse files
committedApr 11, 2025·
Add CI config.
1 parent 542a6ce commit 1fa2aa9

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
 

‎.github/workflows/static-analysis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Static Analysis
2+
3+
on:
4+
push:
5+
branches: master
6+
pull_request:
7+
branches: master
8+
workflow_dispatch:
9+
10+
jobs:
11+
php:
12+
name: PHPCS and PHPStan
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Check out the source code
18+
uses: actions/checkout@v4
19+
20+
- name: Run PHPCS and PHPStan tests
21+
uses: polylang/actions/static-analysis@main

‎.github/workflows/typos.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Spell Check
2+
3+
on:
4+
push:
5+
branches: master
6+
pull_request:
7+
branches: master
8+
workflow_dispatch:
9+
10+
jobs:
11+
testing:
12+
name: Spell Check with Typos
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout Actions Repository
18+
uses: actions/checkout@v4
19+
20+
- name: Check spelling
21+
uses: crate-ci/typos@master

0 commit comments

Comments
 (0)
Please sign in to comment.