Skip to content

Commit c801e76

Browse files
committed
update workflow
1 parent d3100e6 commit c801e76

File tree

3 files changed

+31
-25
lines changed

3 files changed

+31
-25
lines changed

.github/workflows/master.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/phpci.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: PHP CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
php-versions: ['7.4', '8.1']
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- name: Set up PHP ${{ matrix.php-versions }}
19+
uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: ${{ matrix.php-versions }}
22+
23+
- name: Install
24+
run: make install
25+
26+
- name: Check lint
27+
run: make lint
28+
29+
- name: Execute tests
30+
run: make test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# php-points
22

3-
[![github action status](https://github.com/hexlet-components/php-points/workflows/master/badge.svg)](https://github.com/hexlet-components/php-points/actions)
3+
[![github action status](https://github.com/hexlet-components/php-graphs/workflows/PHP%20CI/badge.svg)](../../actions)
44

55
## Functions for working with Points
66

0 commit comments

Comments
 (0)