-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 1.02 KB
/
pipeline.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
37
38
39
40
41
42
43
44
45
46
47
name: Guru Man
on:
push:
branches:
- main
jobs:
avoid_reduncy:
runs-on: ubuntu-20.04
environment: cancel workflows
strategy:
matrix:
php-version: [8.4]
steps:
- name: token
run: echo "${{ secrets.CANCEL_TOKEN }}...."
- name: Cancel Previous Redundant Builds
uses: action-pack/cancel@v1
with:
token: ${{ secrets.CANCEL_TOKEN }}
build:
runs-on: ubuntu-20.04
strategy:
matrix:
php-version: [8.4]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl, pdo_mysql
- name: Install Composer dependencies
run: composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
- name: Php Pest
run: composer lint-ci
- name: Php Pest
run: composer test-ci