Skip to content

Commit 2884193

Browse files
chore: update GitHub Actions workflow to use actions/checkout@v5 and ramsey/composer-install@v3, streamline PHP setup by removing caching steps and adjusting Composer installation
1 parent f1e9621 commit 2884193

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,22 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v5
2020

2121
- name: Install Chroma CLI
2222
run: |
2323
curl -sSL https://raw.githubusercontent.com/chroma-core/chroma/main/rust/cli/install/install.sh | bash
2424
25-
- name: Cache dependencies
26-
uses: actions/cache@v3
27-
with:
28-
path: ~/.composer/cache/files
29-
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
30-
3125
- name: Setup PHP
3226
uses: shivammathur/setup-php@v2
3327
with:
3428
php-version: ${{ matrix.php }}
35-
extensions: dom, mbstring, zip
3629
coverage: none
3730

38-
- name: Install Composer dependencies
39-
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist
31+
- name: Install Composer
32+
uses: "ramsey/composer-install@v3"
33+
with:
34+
dependency-versions: "${{ matrix.dependency-version }}"
4035

4136
- name: Run tests
4237
run: composer test

0 commit comments

Comments
 (0)