-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 831 Bytes
/
ci.yml
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
name: CI
on:
- pull_request
jobs:
yamllint:
name: yaml lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: karancode/yamllint-github-action@master
with:
yamllint_file_or_dir: "./resources/translations"
yamllint_strict: true
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pharynx:
name: build phar
runs-on: ubuntu-20.04
needs:
- yamllint
steps:
- uses: actions/checkout@v4
- uses: pmmp/setup-php-action@main
with:
php-version: 8.1
install-path: "../bin"
pm-version-major: "5"
- uses: SOF3/[email protected]
id: pharynx
- uses: actions/upload-artifact@v3
with:
name: plugin.phar
path: ${{steps.pharynx.outputs.output-phar}}