Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/checkout@v6

- name: Fetch built PHAR from artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: pie-${{ github.sha }}.phar

Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v3
uses: actions/attest@v4
with:
subject-name: ghcr.io/${{ github.repository }}
subject-digest: ${{ steps.build-and-push.outputs.digest }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
# code, which would store attestation that `php/pie` built the PHAR, and
# it would look genuine. So this should NOT run for PR builds.
if: github.event_name != 'pull_request'
uses: actions/attest-build-provenance@v3
uses: actions/attest@v4
with:
subject-path: '${{ github.workspace }}/pie.phar'
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: pie-${{ github.sha }}.phar
path: pie.phar
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
echo "PIE_BINARY_OUTPUT=pie-${{ runner.os }}-${{ runner.arch }}.exe" >> $env:GITHUB_ENV

- name: Grab the pie.phar from artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: pie-${{ github.sha }}.phar

Expand All @@ -151,11 +151,11 @@ jobs:
# code, which would store attestation that `php/pie` built the binaries,
# and it would look genuine. So this should NOT run for PR builds.
if: github.event_name != 'pull_request'
uses: actions/attest-build-provenance@v3
uses: actions/attest@v4
with:
subject-path: '${{ github.workspace }}/${{ env.PIE_BINARY_OUTPUT }}'

- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: pie-${{ github.sha }}-${{ runner.os }}-${{ runner.arch }}.bin
path: ${{ env.PIE_BINARY_OUTPUT }}
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
- name: Build documentation
run: .github/docs/build-docs.sh
- name: Fetch built PHAR from artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: pie-${{ github.sha }}.phar
- name: Fetch the executable PIEs from artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
path: executable-pie-binaries
pattern: pie-${{ github.sha }}-*.bin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Fetch built PHAR from artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: pie-${{ github.sha }}.phar
- name: Fetch the executable PIEs from artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
path: executable-pie-binaries
pattern: pie-${{ github.sha }}-*.bin
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"fidry/cpu-core-counter": "^1.3.0",
"illuminate/container": "^10.49.0",
"psr/container": "^2.0.2",
"symfony/console": "^6.4.32",
"symfony/console": "^6.4.34",
"symfony/event-dispatcher": "^6.4.32",
"symfony/process": "^6.4.33",
"thephpf/attestation": "^0.0.5",
Expand All @@ -45,8 +45,8 @@
"behat/behat": "^3.29.0",
"bnf/phpstan-psr-container": "^1.1",
"doctrine/coding-standard": "^14.0.0",
"phpstan/phpstan": "^2.1.38",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan": "^2.1.40",
"phpstan/phpstan-phpunit": "^2.0.16",
"phpstan/phpstan-webmozart-assert": "^2.0",
"phpunit/phpunit": "^10.5.63"
},
Expand Down
Loading