Skip to content

Commit d3d9723

Browse files
committed
use php 8.4 to run csfix, to avoid incompatibilities
1 parent eeddf96 commit d3d9723

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: composer install --prefer-dist
4444

4545
- name: Coding Standard Checks
46-
if: ${{ matrix.php-versions == '7.4' }}
46+
if: ${{ matrix.php-versions == '8.4' }}
4747
run: PHP_CS_FIXER_IGNORE_ENV=1 ./bin/php-cs-fixer fix --dry-run -v
4848

4949
- name: Static Analysis
@@ -84,7 +84,7 @@ jobs:
8484

8585
- name: "Rename phar to avoid conflicts"
8686
run: mv ./phparkitect.phar phparkitect-${{ github.sha }}.phar
87-
87+
8888
- name: "Upload phar file artifact"
8989
uses: actions/upload-artifact@v4
9090
with:
@@ -127,27 +127,27 @@ jobs:
127127
with:
128128
# will download phar in project root
129129
name: phar-artifact
130-
130+
131131
- name: Import GPG key
132132
uses: crazy-max/ghaction-import-gpg@v6
133133
with:
134134
gpg_private_key: ${{ secrets.GPG_KEY_47CD54B6398FE21B3709D0A4D9C905CED1932CA2 }}
135135
passphrase: ${{ secrets.GPG_KEY_47CD54B6398FE21B3709D0A4D9C905CED1932CA2_PASSPHRASE }}
136136

137137
- name: Rename phar
138-
run: mv ./phparkitect-${{ github.sha }}.phar phparkitect.phar
138+
run: mv ./phparkitect-${{ github.sha }}.phar phparkitect.phar
139139

140140
- name: Sign the PHAR
141-
run: |
141+
run: |
142142
gpg --local-user 47CD54B6398FE21B3709D0A4D9C905CED1932CA2 \
143143
--batch \
144144
--yes \
145145
--passphrase="${{ secrets.GPG_KEY_47CD54B6398FE21B3709D0A4D9C905CED1932CA2_PASSPHRASE }}" \
146146
--detach-sign \
147147
--output ./phparkitect.phar.asc \
148148
./phparkitect.phar
149-
150-
- name: Add phar to the release
149+
150+
- name: Add phar to the release
151151
uses: softprops/action-gh-release@v2
152152
with:
153153
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)