Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaschen committed Mar 28, 2023
1 parent 35d3411 commit 5ef18be
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/php.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: phpgeo Tests
name: phpgeo CI Tasks

on:
push:
Expand All @@ -22,15 +22,15 @@ jobs:
- "8.1"
- "8.2"

name: "phpgeo build - PHP ${{ matrix.php-versions }}"
name: "phpgeo CI run - PHP ${{ matrix.php-versions }}"

steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
php-version: "${{ matrix.php-versions }}"
coverage: xdebug

- name: Validate composer.json and composer.lock
Expand All @@ -41,7 +41,7 @@ jobs:
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php-versions }}-${{ hashFiles('composer.json') }}
key: "${{ runner.os }}-php-${{ matrix.php-versions }}-${{ hashFiles('composer.json') }}"
restore-keys: |
${{ runner.os }}-php-${{ matrix.php-versions }}-
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ phpgeo provides abstractions to geographical coordinates (including support for
- [Requirements](#requirements)
- [Documentation](#documentation)
- [Installation](#installation)
- [Upgrading](#upgrading)
- [License](#license)
- [Features](#features)
- [Examples/Usage](#examplesusage)
Expand All @@ -29,7 +30,7 @@ phpgeo provides abstractions to geographical coordinates (including support for
- [GeoJSON](#geojson)
- [Development](#development)
- [Run Tests](#run-tests)
- [Miscellaneous](#miscellaneous)
- [Running GitHub Actions locally](#running-github-actions-locally)
- [Credits](#credits)

<!-- /MarkdownTOC -->
Expand Down Expand Up @@ -263,6 +264,14 @@ Psalm:
./vendor/bin/psalm
```

### Running GitHub Actions locally

It's possible to run the whole CI test matrix locally with *[act](https://github.com/nektos/act)*:

```shell
act --rm -P ubuntu-latest=shivammathur/node:latest
```

## Credits

* Marcus Jaschen <[email protected]> and [all contributors](https://github.com/mjaschen/phpgeo/graphs/contributors)
Expand Down

0 comments on commit 5ef18be

Please sign in to comment.