Skip to content

Commit

Permalink
CI: removed GHA deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
zerai committed Feb 17, 2024
1 parent eff371f commit 4d221cb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 30 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/acceptance-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
timeout-minutes: 10
continue-on-error: ${{ matrix.is-php-experimental }}
strategy:
max-parallel: 10
max-parallel: 5
matrix:
openemr: [master, v7_0_2, v7_0_1_1, v7_0_1]
php: ['8.1', '8.2', '8.3']
Expand All @@ -36,17 +36,6 @@ jobs:
- openemr: v7_0_0
php: '7.4'
is-php-experimental: false

# php:
# - '8.1'
# is-php-experimental: [false]
# include:
# - php: '8.1'
# openemr: [v7_0_1_1, v7_0_1]
# is-php-experimental: false
# - php: '8.2'
# openemr: [v7_0_1_1, v7_0_1]
# is-php-experimental: true
fail-fast: false
steps:
- name: Setup php extension cache environment
Expand All @@ -60,7 +49,7 @@ jobs:

- name: Cache PHP extensions
if: ${{ vars.USE_PHP_EXTENSION_CACHE }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.cache-php-extensions.outputs.dir }}
key: ${{ steps.cache-php-extensions.outputs.key }}
Expand All @@ -82,7 +71,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache Composer dependencies
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ vars.USE_COMPOSER_CACHE }}
with:
path: ${{ steps.composer-cache.outputs.dir }}
Expand All @@ -94,7 +83,7 @@ jobs:
uses: crazy-max/ghaction-dump-context@v2

- name: Clone openEmr tag ${{ matrix.openemr }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: openemr/openemr
ref: ${{ matrix.openemr }}
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/commit-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout on SHA-${{ inputs.triggering-sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.triggering-sha }}

Expand All @@ -57,7 +57,7 @@ jobs:

- name: Cache PHP extensions
if: ${{ vars.USE_PHP_EXTENSION_CACHE }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.cache-php-extensions.outputs.dir }}
key: ${{ steps.cache-php-extensions.outputs.key }}
Expand All @@ -78,7 +78,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache Composer dependencies
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ vars.USE_COMPOSER_CACHE }}
with:
path: ${{ steps.composer-cache.outputs.dir }}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
fail-fast: true
steps:
- name: Checkout on SHA-${{ inputs.triggering-sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.triggering-sha }}

Expand All @@ -149,7 +149,7 @@ jobs:

- name: Cache PHP extensions
if: ${{ vars.USE_PHP_EXTENSION_CACHE }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.cache-php-extensions.outputs.dir }}
key: ${{ steps.cache-php-extensions.outputs.key }}
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
fail-fast: true
steps:
- name: Checkout on SHA-${{ inputs.triggering-sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.triggering-sha }}

Expand All @@ -207,7 +207,7 @@ jobs:

- name: Cache PHP extensions
if: ${{ vars.USE_PHP_EXTENSION_CACHE }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.cache-php-extensions.outputs.dir }}
key: ${{ steps.cache-php-extensions.outputs.key }}
Expand All @@ -229,7 +229,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache Composer dependencies
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ vars.USE_COMPOSER_CACHE }}
with:
path: ${{ steps.composer-cache.outputs.dir }}
Expand Down Expand Up @@ -261,7 +261,7 @@ jobs:
fail-fast: true
steps:
- name: Checkout on SHA-${{ inputs.triggering-sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.triggering-sha }}

Expand All @@ -276,7 +276,7 @@ jobs:

- name: Cache PHP extensions
if: ${{ vars.USE_PHP_EXTENSION_CACHE }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.cache-php-extensions.outputs.dir }}
key: ${{ steps.cache-php-extensions.outputs.key }}
Expand All @@ -298,7 +298,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache Composer dependencies
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ vars.USE_COMPOSER_CACHE }}
with:
path: ${{ steps.composer-cache.outputs.dir }}
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:
fail-fast: true
steps:
- name: Checkout on SHA-${{ inputs.triggering-sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.triggering-sha }}

Expand All @@ -344,7 +344,7 @@ jobs:

- name: Cache PHP extensions
if: ${{ vars.USE_PHP_EXTENSION_CACHE }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.cache-php-extensions.outputs.dir }}
key: ${{ steps.cache-php-extensions.outputs.key }}
Expand All @@ -366,7 +366,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache Composer dependencies
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ vars.USE_COMPOSER_CACHE }}
with:
path: ${{ steps.composer-cache.outputs.dir }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fail-fast: true
steps:
- name: Checkout on SHA-${{ inputs.triggering-sha }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ env.FROM_REF }}

Expand Down

0 comments on commit 4d221cb

Please sign in to comment.