Skip to content

Commit 24d92ee

Browse files
rfayclaude
andcommitted
Update GitHub Actions workflows to current versions
- Update Node.js from 18 to 24 in dependabot workflow - Update matrix OS from ubuntu-22.04 to ubuntu-24.04-arm - Update DDEV test version from v1.24.0 to v1.24.7 - Replace ubuntu-latest with ubuntu-24.04 for consistency - Extract DDEV version to OLD_DDEV_VERSION environment variable 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e0dc22a commit 24d92ee

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
npm-update:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-24.04
99
if: ${{ github.actor == 'dependabot[bot]' }}
1010
permissions:
1111
contents: write
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v5
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version: 24
1818
cache: npm
1919
- name: Checkout PR
2020
run: gh pr checkout ${{ github.event.pull_request.number }}

.github/workflows/main.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ on:
1111
schedule:
1212
- cron: 0 0 * * *
1313

14+
env:
15+
OLD_DDEV_VERSION: '1.24.7'
16+
1417
jobs:
1518
test:
1619
runs-on: ${{ matrix.os }}
1720
strategy:
1821
fail-fast: false
1922
matrix:
20-
os: [ubuntu-22.04, ubuntu-24.04]
21-
version: ['latest', '1.24.0']
23+
os: [ubuntu-24.04, ubuntu-24.04-arm]
24+
version: ['latest', '${{ env.OLD_DDEV_VERSION }}']
2225
steps:
2326
- uses: actions/checkout@v5
2427
- uses: ./
@@ -28,10 +31,10 @@ jobs:
2831
version: ${{ matrix.version }}
2932
- name: ddev version
3033
run: |
31-
if [[ ${{ matrix.version }} == '1.24.0' ]]; then
32-
test "$(ddev --version)" == 'ddev version v1.24.0'
34+
if [[ ${{ matrix.version }} == '${{ env.OLD_DDEV_VERSION }}' ]]; then
35+
test "$(ddev --version)" == 'ddev version v${{ env.OLD_DDEV_VERSION }}'
3336
else
34-
test "$(ddev --version)" != 'ddev version v1.24.0'
37+
test "$(ddev --version)" != 'ddev version v${{ env.OLD_DDEV_VERSION }}'
3538
fi
3639
- name: ddev stopped
3740
run: |

.github/workflows/update-main-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121

2222
jobs:
2323
tag:
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-24.04
2525
permissions:
2626
contents: write
2727
steps:

0 commit comments

Comments
 (0)