Skip to content
Open
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
18 changes: 9 additions & 9 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
name: PHP ${{ matrix.php-version }} Conformance Test
steps:
- name: Harden Runner
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: block
allowed-endpoints: >
Expand All @@ -35,10 +35,10 @@
storage.googleapis.com:443

- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: Setup PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e # v2

Check failure on line 41 in .github/workflows/conformance.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/known-vulnerable-actions

action has a known vulnerability: GHSA-pqwm-q9pv-ph8r

Check failure on line 41 in .github/workflows/conformance.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/known-vulnerable-actions

action has a known vulnerability: GHSA-5wxr-w449-57cm

Check warning on line 41 in .github/workflows/conformance.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

conformance.yml:41: action's hash pin has mismatched or missing version comment: points to commit f3e473d116dc

Check failure on line 41 in .github/workflows/conformance.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

known-vulnerable-actions

conformance.yml:41: action has a known vulnerability: GHSA-pqwm-q9pv-ph8r

Check failure on line 41 in .github/workflows/conformance.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

known-vulnerable-actions

conformance.yml:41: action has a known vulnerability: GHSA-5wxr-w449-57cm
with:
php-version: ${{ matrix.php-version }}

Expand All @@ -50,12 +50,12 @@
command: composer install

- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version: '1.24'
go-version: '1.26'

- name: Run HTTP conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
uses: GoogleCloudPlatform/functions-framework-conformance/action@403fda9e6e176aae87646aace9bed075cee8e7fd # v1.8.8
env:
FUNCTION_TARGET: 'httpFunc'
FUNCTION_SIGNATURE_TYPE: 'http'
Expand All @@ -66,7 +66,7 @@
cmd: "'php -S localhost:8080 router.php'"

- name: Run Declarative HTTP conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
uses: GoogleCloudPlatform/functions-framework-conformance/action@403fda9e6e176aae87646aace9bed075cee8e7fd # v1.8.8
env:
FUNCTION_TARGET: 'declarativeHttpFunc'
FUNCTION_SOURCE: ${{ github.workspace }}/tests/conformance/index.php
Expand All @@ -76,7 +76,7 @@
cmd: "'php -S localhost:8080 router.php'"

- name: Run Declarative Typed conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
uses: GoogleCloudPlatform/functions-framework-conformance/action@403fda9e6e176aae87646aace9bed075cee8e7fd # v1.8.8
env:
FUNCTION_TARGET: 'declarativeTypedFunc'
FUNCTION_SOURCE: ${{ github.workspace }}/tests/conformance/index.php
Expand All @@ -87,7 +87,7 @@
cmd: "'php -S localhost:8080 router.php'"

- name: Run CloudEvent conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
uses: GoogleCloudPlatform/functions-framework-conformance/action@403fda9e6e176aae87646aace9bed075cee8e7fd # v1.8.8
env:
FUNCTION_TARGET: 'cloudEventFunc'
FUNCTION_SIGNATURE_TYPE: 'cloudevent'
Expand All @@ -99,7 +99,7 @@
cmd: "'php -S localhost:8080 router.php'"

- name: Run Declarative CloudEvent conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
uses: GoogleCloudPlatform/functions-framework-conformance/action@403fda9e6e176aae87646aace9bed075cee8e7fd # v1.8.8
env:
FUNCTION_TARGET: 'declarativeCloudEventFunc'
FUNCTION_SOURCE: ${{ github.workspace }}/tests/conformance/index.php
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
disable-sudo: true
egress-policy: block
Expand All @@ -26,6 +26,6 @@ jobs:
github.com:443

- name: 'Checkout Repository'
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: 'Dependency Review'
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga:latest@sha256:ed1747b161640445dbbb41744a0c51b6e4e61af4e4bdc285242a6ad60e730dd7
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
disable-sudo: true
egress-policy: block
Expand All @@ -45,12 +45,12 @@ jobs:
www.bestpractices.dev:443

- name: "Checkout code"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -62,6 +62,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
uses: github/codeql-action/upload-sarif@4187e74d05793876e9989daffde9c3e66b4acd07 # v3.37.3
with:
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
name: PHP ${{ matrix.php-versions }} Unit Test
steps:
- name: Harden Runner
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: block
allowed-endpoints: >
Expand All @@ -36,9 +36,9 @@
*.githubusercontent.com:443

- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Uses PHP ${{ matrix.php-versions }}
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e # v2

Check failure on line 41 in .github/workflows/unit.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/known-vulnerable-actions

action has a known vulnerability: GHSA-pqwm-q9pv-ph8r

Check failure on line 41 in .github/workflows/unit.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/known-vulnerable-actions

action has a known vulnerability: GHSA-5wxr-w449-57cm

Check warning on line 41 in .github/workflows/unit.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

unit.yml:41: action's hash pin has mismatched or missing version comment: points to commit f3e473d116dc

Check failure on line 41 in .github/workflows/unit.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

known-vulnerable-actions

unit.yml:41: action has a known vulnerability: GHSA-pqwm-q9pv-ph8r

Check failure on line 41 in .github/workflows/unit.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

known-vulnerable-actions

unit.yml:41: action has a known vulnerability: GHSA-5wxr-w449-57cm
with:
php-version: ${{ matrix.php-versions }}
- name: Install Dependencies
Expand Down
Loading