Skip to content

Commit fc76f02

Browse files
committed
Doc updates, updated github actions instructions
1 parent 5833fc4 commit fc76f02

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ name: CI
22

33
on:
44
push:
5-
branches: [ develop ]
6-
pull_request:
7-
branches: [ develop ]
5+
paths:
6+
- '**.php'
7+
- '.github/workflows/ci.yml'
8+
- 'phpunit.xml.dist'
9+
- 'composer.json'
810

911
jobs:
1012
build-test-analyse:
1113
runs-on: ubuntu-latest
1214
strategy:
15+
fail-fast: true
1316
matrix:
1417
php-version: ['8.2', '8.3', '8.4']
1518

File renamed without changes.

readme.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Common
2+
[![Latest Version on Packagist][icon-version]][link-packagist]
3+
[![Software License][icon-license]](license.md)
4+
[![Build Status][icon-github-actions]][link-github-actions]
5+
[![Total Downloads][icon-downloads]][link-downloads]
26

37
Some common code which can be used by other packages.
48
For now it is limited to a PSR-18 compliant HTTP client with a middleware stack, and some traits for common API client functionality.
@@ -8,7 +12,7 @@ Used standards:
812
- PSR-15: middleware stack (universal middleware stack)
913
- PSR-16: cache interface (universal cache interface)
1014
- PSR-17: request-factory (universal request-object)
11-
- PSR-18: client interface as typehint (not hardcoding Guzzle)x
15+
- PSR-18: client interface as typehint (not hardcoding Guzzle)
1216

1317
For more detailed docs, see the [docs folder](docs/index.md).
1418

@@ -38,6 +42,14 @@ The MIT License (MIT). Please see [License File](license.md) for more informatio
3842

3943
[WeDesignIt][link-wdi] is a web agency from Oude-Tonge (reserve-Zeeland), the Netherlands specialized in custom web applications, API development, and integrations.
4044

45+
[icon-version]: https://img.shields.io/packagist/v/WeDesignIt/Common?style=flat-square
46+
[icon-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
47+
[icon-github-actions]: https://img.shields.io/github/actions/workflow/status/wedesignit/common/ci.yml?label=tests&branch=master&style=flat-square
48+
[icon-downloads]: https://img.shields.io/packagist/dt/wedesignit/common?style=flat-square
49+
50+
[link-packagist]: https://packagist.org/packages/wedesignit/common
51+
[link-github-actions]: https://github.com/wedesignit/common/actions/workflows/ci.yml
52+
[link-downloads]: https://packagist.org/packages/wedesignit/common
4153

4254
[link-author]: https://github.com/pvankouteren
4355
[link-contributors]: ../../contributors

0 commit comments

Comments
 (0)