Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
php-client
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Perun
Perun ProxyIdP
php-client
Commits
9a50d322
Unverified
Commit
9a50d322
authored
3 years ago
by
Paul Lettich
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update PHP actions
- ignore caches - use php-actions
parent
e33f5a7b
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!9
[pull] main from privacyidea:master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/runTests.yml
+13
-10
13 additions, 10 deletions
.github/workflows/runTests.yml
with
13 additions
and
10 deletions
.github/workflows/runTests.yml
+
13
−
10
View file @
9a50d322
...
@@ -20,20 +20,23 @@ jobs:
...
@@ -20,20 +20,23 @@ jobs:
-
name
:
Validate composer.json and composer.lock
-
name
:
Validate composer.json and composer.lock
run
:
composer validate
run
:
composer validate
-
name
:
Cache Composer packages
#
- name: Cache Composer packages
id
:
composer-cache
#
id: composer-cache
uses
:
actions/cache@v3
#
uses: actions/cache@v3
with
:
#
with:
path
:
vendor
#
path: vendor
key
:
${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
#
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys
:
|
#
restore-keys: |
${{ runner.os }}-php-
#
${{ runner.os }}-php-
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
composer install --prefer-dist --no-progress
uses
:
php-actions/composer@v6
# run: composer install --prefer-dist --no-progress
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
# Docs: https://getcomposer.org/doc/articles/scripts.md
-
name
:
Run test suite
-
name
:
Run test suite
run
:
composer run-script test
uses
:
php-actions/phpunit@v3
# run: composer run-script test
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment