Skip to content

Commit

Permalink
ci: update deprecated cache action and checkout action to latest vers…
Browse files Browse the repository at this point in the history
…ion (#180)

* ci: update deprecated cache action to latest version

* ci: update deprecated checkout action to latest version
  • Loading branch information
millnut authored Nov 26, 2024
1 parent 74bede7 commit 3111fe1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: echo "COMPOSER_REF=dev-${GIT_BRANCH}" >> $GITHUB_ENV

- name: Cached workspace
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./html
key: localgov-build-${{ matrix.localgov-version }}-${{ matrix.drupal-version }}-${{ matrix.php-version }}-${{ github.run_id }}-${{ secrets.CACHE_VERSION }}
Expand All @@ -72,7 +72,7 @@ jobs:
php-version: ${{ matrix.php-version }}

- name: Clone drupal_container
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: localgovdrupal/drupal-container
ref: php${{ matrix.php-version }}
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:

steps:
- name: Cached workspace
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./html
key: localgov-build-${{ matrix.localgov-version }}-${{ matrix.drupal-version }}-${{ matrix.php-version }}-${{ github.run_id }}-${{ secrets.CACHE_VERSION }}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:

steps:
- name: Cached workspace
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./html
key: localgov-build-${{ matrix.localgov-version }}-${{ matrix.drupal-version }}-${{ matrix.php-version }}-${{ github.run_id }}-${{ secrets.CACHE_VERSION }}
Expand Down Expand Up @@ -169,13 +169,13 @@ jobs:

steps:
- name: Clone Drupal container
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: localgovdrupal/drupal-container
ref: php${{ matrix.php-version }}

- name: Cached workspace
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./html
key: localgov-build-${{ matrix.localgov-version }}-${{ matrix.drupal-version }}-${{ matrix.php-version }}-${{ github.run_id }}-${{ secrets.CACHE_VERSION }}
Expand Down

0 comments on commit 3111fe1

Please sign in to comment.