summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAtsushi Matsuo <famlog@gmail.com>2024-08-29 06:56:51 +0900
committerGitHub <noreply@github.com>2024-08-28 23:56:51 +0200
commitcb09fda90d39e3f387719eed68c34a5c434d8b2e (patch)
tree91afed95204161d47647f7bfb322cd0e2c7433a2 /.github
parentc8f1853bfe09b608acf57936a0fe4c98b49c6379 (diff)
downloadsmarty-cb09fda90d39e3f387719eed68c34a5c434d8b2e.tar.gz
smarty-cb09fda90d39e3f387719eed68c34a5c434d8b2e.tar.bz2
smarty-cb09fda90d39e3f387719eed68c34a5c434d8b2e.zip
Update a workflow file for GitHub Actions to test on Windows (#1046)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b7fb1178..12758b83 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,6 +23,7 @@ jobs:
matrix:
os:
- ubuntu-latest
+ - windows-latest
php-version:
- "7.2"
@@ -52,7 +53,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Override PHP ini values for JIT compiler
if: matrix.compiler == 'jit'
@@ -68,7 +69,7 @@ jobs:
- name: Cache Composer packages
id: composer-cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: vendor
key: v5r2-${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
@@ -76,7 +77,7 @@ jobs:
v5r1-${{ runner.os }}-php-${{ matrix.php-version }}-
- name: Install dependencies
- uses: php-actions/composer@v6
+ run: composer install
- name: Run make
run: make -B