Skip to content

Commit

Permalink
feat: 1.0.0 readiness
Browse files Browse the repository at this point in the history
- Removes obsolete `index.js` file.
- Updates documentation to reflect v1 everywhere.
- Updates `Dockerfile` to pull v1 container.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
  • Loading branch information
weierophinney committed Feb 10, 2021
1 parent 90f5c61 commit b81a529
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 160 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/laminas/laminas-ci-matrix-container:0
FROM ghcr.io/laminas/laminas-ci-matrix-container:1

LABEL "com.github.actions.icon"="share-2"
LABEL "com.github.actions.color"="blue"
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Currently, it identifies the following:
- phpcs checks based on the presence of `phpcs.xml.dist` or `phpcs.xml` files.
- Psalm checks based on the presence of `psalm.xml.dist` or `psalm.xml` files.
- phpbench benchmarks based on the presence of a `phpbench.json`.
- Markdown documentation based on the presence of a `mkdocs.yml` and/or markdown files in the `doc/book/` or `doc/books/` trees.

Further, when triggered by a `pull_request` event, it determines what checks are necessary based on which files were affected.

## Usage

Expand All @@ -22,10 +25,9 @@ jobs:
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
name: Gather CI configuration
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@v0
uses: laminas/laminas-ci-matrix-action@v1

qa:
name: QA Checks
Expand All @@ -36,7 +38,7 @@ jobs:
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }}
uses: laminas/laminas-continuous-integration-action@v0
uses: laminas/laminas-continuous-integration-action@v1
with:
job: ${{ matrix.job }}
```
Expand Down Expand Up @@ -110,3 +112,15 @@ The package can include a configuration file in its root, `.laminas-ci.json`, wh

The "checks" array should be in the same format as listed above for the outputs.
Please remember that the **job** element **MUST** be a JSON **string**

The easiest way to exclude a single job is via the `name` parameter:

```json
{
"exclude": [
{
"name": "PHPUnit on PHP 8.0 with latest dependencies"
}
]
}
```
155 changes: 0 additions & 155 deletions index.js

This file was deleted.

0 comments on commit b81a529

Please sign in to comment.