summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-10-16 10:41:11 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-16 10:41:11 +0200
commitd9219705e4854411039a57e02ccae429e80d3483 (patch)
tree9b929b8959196304b1852cf35b4a7f49fa9cee75
parent5a098314c4ac4f6dd70f9ebe576e6b2d4be0119c (diff)
fix(CI): Fix CI on pushes
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--.github/workflows/integration-mysql.yml5
-rw-r--r--.github/workflows/integration-oci.yml5
-rw-r--r--.github/workflows/integration-pgsql.yml5
-rw-r--r--.github/workflows/integration-sqlite.yml5
-rw-r--r--.github/workflows/lint-eslint.yml5
-rw-r--r--.github/workflows/node.yml5
-rw-r--r--.github/workflows/phpunit-mysql.yml5
-rw-r--r--.github/workflows/phpunit-oci.yml5
-rw-r--r--.github/workflows/phpunit-pgsql.yml5
-rw-r--r--.github/workflows/phpunit-sqlite.yml5
-rw-r--r--psalm.xml1
11 files changed, 31 insertions, 20 deletions
diff --git a/.github/workflows/integration-mysql.yml b/.github/workflows/integration-mysql.yml
index 8df39f1d5..af905b8a1 100644
--- a/.github/workflows/integration-mysql.yml
+++ b/.github/workflows/integration-mysql.yml
@@ -34,6 +34,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -52,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
@@ -164,4 +165,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.integration-mysql.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-mysql.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/integration-oci.yml b/.github/workflows/integration-oci.yml
index 61139ce44..abbf1e069 100644
--- a/.github/workflows/integration-oci.yml
+++ b/.github/workflows/integration-oci.yml
@@ -34,6 +34,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -52,7 +53,7 @@ jobs:
runs-on: ubuntu-22.04
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
@@ -176,4 +177,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.integration-oci.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-oci.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/integration-pgsql.yml b/.github/workflows/integration-pgsql.yml
index 37f0303b6..ee9cd018f 100644
--- a/.github/workflows/integration-pgsql.yml
+++ b/.github/workflows/integration-pgsql.yml
@@ -30,6 +30,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -48,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
@@ -170,4 +171,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.integration-pgsql.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-pgsql.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/integration-sqlite.yml b/.github/workflows/integration-sqlite.yml
index e8bc8bf4d..a7729e69f 100644
--- a/.github/workflows/integration-sqlite.yml
+++ b/.github/workflows/integration-sqlite.yml
@@ -34,6 +34,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -52,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
@@ -155,4 +156,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.integration-sqlite.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-sqlite.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/lint-eslint.yml b/.github/workflows/lint-eslint.yml
index 096e397fb..36c6ad0f2 100644
--- a/.github/workflows/lint-eslint.yml
+++ b/.github/workflows/lint-eslint.yml
@@ -28,6 +28,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -47,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
name: NPM lint
@@ -91,4 +92,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.lint.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index 71e8fde34..1901f6aa3 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -30,6 +30,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -47,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
name: NPM build
steps:
@@ -100,4 +101,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.build.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.build.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/phpunit-mysql.yml b/.github/workflows/phpunit-mysql.yml
index 0015431f3..151351d56 100644
--- a/.github/workflows/phpunit-mysql.yml
+++ b/.github/workflows/phpunit-mysql.yml
@@ -30,6 +30,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -48,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
strategy:
matrix:
@@ -173,4 +174,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.phpunit-mysql.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-mysql.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/phpunit-oci.yml b/.github/workflows/phpunit-oci.yml
index 7b5ce4422..2b5eb2900 100644
--- a/.github/workflows/phpunit-oci.yml
+++ b/.github/workflows/phpunit-oci.yml
@@ -30,6 +30,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -48,7 +49,7 @@ jobs:
runs-on: ubuntu-22.04
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
strategy:
matrix:
@@ -180,4 +181,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.phpunit-oci.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-oci.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/phpunit-pgsql.yml b/.github/workflows/phpunit-pgsql.yml
index bca6ddb2c..90724d59b 100644
--- a/.github/workflows/phpunit-pgsql.yml
+++ b/.github/workflows/phpunit-pgsql.yml
@@ -30,6 +30,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -48,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
strategy:
matrix:
@@ -170,4 +171,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.phpunit-pgsql.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-pgsql.result != 'success' }}; then exit 1; fi
diff --git a/.github/workflows/phpunit-sqlite.yml b/.github/workflows/phpunit-sqlite.yml
index e441c5261..d357f6473 100644
--- a/.github/workflows/phpunit-sqlite.yml
+++ b/.github/workflows/phpunit-sqlite.yml
@@ -30,6 +30,7 @@ jobs:
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
+ continue-on-error: true
with:
filters: |
src:
@@ -48,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
needs: changes
- if: needs.changes.outputs.src == 'true'
+ if: needs.changes.outputs.src != 'false'
strategy:
matrix:
@@ -159,4 +160,4 @@ jobs:
steps:
- name: Summary status
- run: if ${{ needs.changes.outputs.src == 'true' && needs.phpunit-sqlite.result != 'success' }}; then exit 1; fi
+ run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-sqlite.result != 'success' }}; then exit 1; fi
diff --git a/psalm.xml b/psalm.xml
index 49f15a6fb..55fa36d02 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -5,6 +5,7 @@
findUnusedBaselineEntry="true"
findUnusedCode="false"
resolveFromConfigFile="true"
+ phpVersion="8.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor-bin/psalm/vendor/vimeo/psalm/config.xsd"