From d79a736e2366010db8e9a02ff6531d743215ab69 Mon Sep 17 00:00:00 2001 From: David Bailey Date: Sat, 14 Oct 2023 15:29:56 +0200 Subject: [PATCH 1/3] ci: :construction_worker: test out Forgejo CI --- .forgejo/workflows/phplint.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .forgejo/workflows/phplint.yaml diff --git a/.forgejo/workflows/phplint.yaml b/.forgejo/workflows/phplint.yaml new file mode 100644 index 0000000..1d23cd2 --- /dev/null +++ b/.forgejo/workflows/phplint.yaml @@ -0,0 +1,11 @@ +on: [push] + +jobs: + phplint: + runs-on: docker + container: + image: cytopia/phplint:debian + entrypoint: sh + steps: + - uses: actions/checkout@v4 + - ./docker-entrypoint.sh -i ./vendor/.* *.php \ No newline at end of file From a8678d0a5a7b8e4bfa1dc2e5c05a5b26c2b4026b Mon Sep 17 00:00:00 2001 From: David Bailey Date: Sat, 14 Oct 2023 15:31:46 +0200 Subject: [PATCH 2/3] ci: :pencil2: properly use run step --- .forgejo/workflows/phplint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/phplint.yaml b/.forgejo/workflows/phplint.yaml index 1d23cd2..b1e3b82 100644 --- a/.forgejo/workflows/phplint.yaml +++ b/.forgejo/workflows/phplint.yaml @@ -8,4 +8,4 @@ jobs: entrypoint: sh steps: - uses: actions/checkout@v4 - - ./docker-entrypoint.sh -i ./vendor/.* *.php \ No newline at end of file + - run: ./docker-entrypoint.sh -i ./vendor/.* *.php \ No newline at end of file From 82a2e21e6c55c4c060c6ca5a626f95c672d68575 Mon Sep 17 00:00:00 2001 From: David Bailey Date: Sat, 14 Oct 2023 15:38:28 +0200 Subject: [PATCH 3/3] ci: :pushpin: adjust checkout version to v3 (Node20 issues <.<) --- .forgejo/workflows/phplint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/phplint.yaml b/.forgejo/workflows/phplint.yaml index b1e3b82..4f2bade 100644 --- a/.forgejo/workflows/phplint.yaml +++ b/.forgejo/workflows/phplint.yaml @@ -7,5 +7,5 @@ jobs: image: cytopia/phplint:debian entrypoint: sh steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - run: ./docker-entrypoint.sh -i ./vendor/.* *.php \ No newline at end of file