Skip to content

Commit

Permalink
Merge pull request #21 from TomHAnderson/feature/actions
Browse files Browse the repository at this point in the history
Trigger Actions
  • Loading branch information
TomHAnderson authored Feb 28, 2024
2 parents c7c14be + 93008c3 commit 3713768
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 9,340 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v4"
with:
fetch-depth: 2

Expand All @@ -44,19 +44,19 @@ jobs:
extensions: "pdo_mysql"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist"

- name: "Show Composer packages"
run: "composer show"

- name: "Run PHPUnit"
run: "vendor/bin/phpunit --coverage-clover=coverage.xml"

- name: "Upload coverage file"
uses: "actions/upload-artifact@v2"
uses: "actions/upload-artifact@v4"
with:
name: "phpunit-${{ matrix.php-version }}-${{ matrix.dependencies }}-${{ matrix.dbal-version }}.coverage"
path: "coverage.xml"
Expand All @@ -69,17 +69,17 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v4"
with:
fetch-depth: 2

- name: "Download coverage files"
uses: "actions/download-artifact@v2"
uses: "actions/download-artifact@v4"
with:
path: "reports"

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v2"
uses: "codecov/codecov-action@v4"
with:
directory: "reports"

4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ build
/deployment.properties
/deployment.xml
test/asset/orm-autoload/oauth2.doctrine-orm.global.php
composer.lock
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
OAuth2 Doctrine ORM Adapter for Laminas API Tools
=================================================

[![Build Status](https://travis-ci.org/api-skeletons/oauth2-doctrine.svg)](https://travis-ci.org/api-skeletons/oauth2-doctrine)
[![Build Status](https://github.com/api-skeletons/oauth2-doctrine/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/API-Skeletons/oauth2-doctrine/actions/workflows/continuous-integration.yml?query=branch%3Amain)
[![Documentation Status](https://readthedocs.org/projects/doctrine-in-apigility-docs/badge/?version=latest)](http://doctrine-in-apigility-docs.readthedocs.io/en/latest/api-tools-oauth2-doctrine/index.html)
[![Gitter](https://badges.gitter.im/api-skeletons/open-source.svg)](https://gitter.im/api-skeletons/open-source)
[![Patreon](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/apiskeletons)
[![Total Downloads](https://poser.pugx.org/api-skeletons/oauth2-doctrine/downloads)](https://packagist.org/packages/api-skeletons/oauth2-doctrine)

This provides a Doctrine adapter for [laminas-api-tools/api-tools-mvc-auth](https://github.com/laminas-api-tools/api-tools-mvc-auth) and [laminas-api-tools/api-tools-oauth2](https://github.com/laminas-api-tools/api-tools-oauth2) and entity definitions for all aspects of OAuth2 including Authorization Code, Access Tokens, Refresh Tokens, JWT & JTI, and Scopes.
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"php": "~8.0.0 || ~8.1.0 || ~8.2.0",
"laminas-api-tools/api-tools-oauth2": "^1.9",
"doctrine/doctrine-orm-module": "^4.0 || ^5.0",
"doctrine/dbal": "^3.5",
"laminas-api-tools/api-tools-mvc-auth": "^1.5.1",
"laminas/laminas-mvc": "^3.1",
"laminas/laminas-config": "^3.3",
Expand Down
Loading

0 comments on commit 3713768

Please sign in to comment.