Skip to content

Commit 3efde1c

Browse files
committed
Fix CI
1 parent fb59c27 commit 3efde1c

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313

1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818

@@ -26,7 +26,7 @@ jobs:
2626
run: make compile
2727

2828
- name: Upload Artifact
29-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
3030
with:
3131
name: mtxpc.phar
3232
path: ${{ github.workspace }}/build/mtxpc.phar

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616

1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Build Phar
2121
run: make compile

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
.PHONY: all build lint lint-fix test test-integration test-unit test-static repl generate-fixtures process-reports compile clean help
22

3+
HOST_UID ?= `id -u`
4+
HOST_GID ?= `id -g`
35
IMAGE?=latest
4-
PHP=docker compose run --rm php
6+
PHP=docker compose run --rm -u $(HOST_UID):$(HOST_GID) php
57

68
all: test
79

@@ -36,7 +38,7 @@ compile: vendor
3638
$(PHP) composer compile
3739

3840
clean:
39-
$(PHP) rm -rf vendor composer.lock
41+
$(PHP) rm -rf build composer.lock .phpunit.result.cache vendor .test-result
4042

4143
generate-fixtures:
4244
$(PHP) composer generate-fixtures

0 commit comments

Comments
 (0)