Skip to content

Commit

Permalink
Merge pull request #193 from Chris53897/feature/improve-ci
Browse files Browse the repository at this point in the history
chore: fix ci deprecations
  • Loading branch information
mnapoli authored Feb 10, 2024
2 parents 202aaf6 + 27c6110 commit 2f52946
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: "Checkout repository"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -31,10 +31,10 @@ jobs:

- name: "Get composer cache directory"
id: "composercache"
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: "Cache dependencies"
uses: "actions/cache@v3"
uses: "actions/cache@v4"
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer-${{ hashFiles('**/composer.json') }}
Expand Down Expand Up @@ -63,13 +63,15 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
dependencies:
- "lowest"
- "highest"

steps:
- name: "Checkout repository"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -79,10 +81,10 @@ jobs:

- name: "Get composer cache directory"
id: "composercache"
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: "Cache dependencies"
uses: "actions/cache@v3"
uses: "actions/cache@v4"
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer-${{ hashFiles('**/composer.json') }}
Expand Down

0 comments on commit 2f52946

Please sign in to comment.