@@ -47,35 +47,31 @@ jobs:
4747 name : Psalm Static Analysis (PHP ${{ matrix.php-versions }})
4848
4949 steps :
50- - name : Testing some things
51- run : echo ${{ needs.matrix.outputs.branches-max }}
50+ - name : Checkout
51+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
52+ with :
53+ persist-credentials : false
54+
55+ - name : Set up php${{ matrix.php-versions }}
56+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
57+ with :
58+ php-version : ${{ matrix.php-versions }}
59+ extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
60+ coverage : none
61+ ini-file : development
62+ # Temporary workaround for missing pcntl_* in PHP 8.3
63+ ini-values : disable_functions=
64+ env :
65+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66+
67+ - name : Install dependencies
68+ run : |
69+ composer remove nextcloud/ocp --dev
70+ composer i
71+
72+ - name : Install nextcloud/ocp
73+ run : composer require --dev nextcloud/ocp:dev-${{ needs.matrix.outputs.branches-max }} --ignore-platform-reqs --with-dependencies
5274
53- # steps:
54- # - name: Checkout
55- # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
56- # with:
57- # persist-credentials: false
58- #
59- # - name: Set up php${{ matrix.php-versions }}
60- # uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
61- # with:
62- # php-version: ${{ matrix.php-versions }}
63- # extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
64- # coverage: none
65- # ini-file: development
66- # # Temporary workaround for missing pcntl_* in PHP 8.3
67- # ini-values: disable_functions=
68- # env:
69- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70- #
71- # - name: Install dependencies
72- # run: |
73- # composer remove nextcloud/ocp --dev
74- # composer i
75- #
76- # - name: Install nextcloud/ocp
77- # run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches-max }} --ignore-platform-reqs --with-dependencies
78- #
79- # - name: Run coding standards check
80- # run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github
75+ - name : Run coding standards check
76+ run : composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github
8177
0 commit comments