Skip to content

Commit b1566b1

Browse files
Merge remote-tracking branch 'origin/main' into jetty-12-no-servlets
2 parents 74eccf0 + cd6caed commit b1566b1

35 files changed

+561
-132
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"functions-framework-api":"1.1.0","invoker":"1.3.0","function-maven-plugin":"0.11.0"}
1+
{"functions-framework-api":"1.1.4","invoker":"1.4.1","function-maven-plugin":"0.11.1"}

.github/blunderbuss.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
assign_prs:
2-
- janell-chen
3-
- HKWinterhalter
4-
- garethgeorge
51

6-
assign_issues:
7-
- janell-chen
8-
- HKWinterhalter
9-
- garethgeorge

.github/release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@
7070
]
7171
}
7272
}
73-
}
73+
}

.github/release-trigger.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
enabled: true
1+
enabled: true
2+
multiScmName: functions-framework-java

.github/renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": ["group:allNonMajor", "schedule:monthly"],
4+
"ignoreDeps": ["org.apache.maven.plugins:maven-source-plugin"],
45
"packageRules": [
56
{
67
"description": "Create a PR whenever there is a new major version",

.github/workflows/buildpack-integration-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
prerun: 'invoker/conformance/prerun.sh'
2525
builder-runtime: 'java11'
2626
builder-runtime-version: '11'
27-
builder-url: gcr.io/gae-runtimes/buildpacks/google-gae-22/java/builder:latest
27+
builder-url: gcr.io/serverless-runtimes/google-22-full/builder/java:latest
2828
java17-buildpack-test:
2929
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main
3030
with:
@@ -35,4 +35,4 @@ jobs:
3535
prerun: 'invoker/conformance/prerun.sh'
3636
builder-runtime: 'java17'
3737
builder-runtime-version: '17'
38-
builder-url: gcr.io/gae-runtimes/buildpacks/google-gae-22/java/builder:latest
38+
builder-url: gcr.io/serverless-runtimes/google-22-full/builder/java:latest

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Harden Runner
31-
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
31+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
3232
with:
3333
disable-sudo: true
3434
egress-policy: block
@@ -42,11 +42,11 @@ jobs:
4242
uploads.github.com:443
4343
4444
- name: Checkout repository
45-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4646

4747
# Initializes the CodeQL tools for scanning.
4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5
49+
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
5050
with:
5151
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
5252
languages: java
@@ -66,6 +66,6 @@ jobs:
6666
(cd function-maven-plugin && mvn install)
6767
6868
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5
69+
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
7070
with:
7171
category: ${{ matrix.working-directory }}

.github/workflows/conformance.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ jobs:
1414
strategy:
1515
matrix:
1616
java: [
17-
11.x
18-
# 12.x,
19-
# 13.x
17+
11.x,
2018
]
2119
steps:
2220
- name: Harden Runner
23-
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
21+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
2422
with:
2523
disable-sudo: true
2624
egress-policy: block
@@ -32,16 +30,16 @@ jobs:
3230
repo.maven.apache.org:443
3331
storage.googleapis.com:443
3432
35-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
33+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3634

3735
- name: Set up JDK ${{ matrix.java }}
38-
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
36+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
3937
with:
4038
java-version: ${{ matrix.java }}
4139
distribution: temurin
4240

4341
- name: Setup Go
44-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
42+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
4543
with:
4644
go-version: '1.21'
4745

@@ -55,15 +53,15 @@ jobs:
5553
run: (cd function-maven-plugin/ && mvn install)
5654

5755
- name: Run HTTP conformance tests
58-
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
56+
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
5957
with:
6058
functionType: 'http'
6159
useBuildpacks: false
6260
cmd: "'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.HttpConformanceFunction'"
6361
startDelay: 10
6462

6563
- name: Run Typed conformance tests
66-
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
64+
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
6765
with:
6866
functionType: 'http'
6967
declarativeType: 'typed'
@@ -72,7 +70,7 @@ jobs:
7270
startDelay: 10
7371

7472
- name: Run background event conformance tests
75-
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
73+
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
7674
with:
7775
functionType: 'legacyevent'
7876
useBuildpacks: false
@@ -81,7 +79,7 @@ jobs:
8179
startDelay: 10
8280

8381
- name: Run cloudevent conformance tests
84-
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
82+
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
8583
with:
8684
functionType: 'cloudevent'
8785
useBuildpacks: false
@@ -90,7 +88,7 @@ jobs:
9088
startDelay: 10
9189

9290
- name: Run HTTP concurrency conformance tests
93-
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
91+
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
9492
with:
9593
functionType: 'http'
9694
useBuildpacks: false

.github/workflows/lint.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Harden Runner
16-
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
16+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
1717
with:
1818
disable-sudo: true
1919
egress-policy: block
2020
allowed-endpoints: >
2121
github.com:443
2222
repo.maven.apache.org:443
23-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
- name: Set up JDK
25-
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
25+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
2626
with:
2727
java-version: 11.x
2828
distribution: temurin
@@ -38,11 +38,16 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Harden Runner
41-
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
41+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
4242
with:
4343
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
4444

45-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 # v2 minimum required
45+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # v2 minimum required
46+
- name: Set up JDK
47+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
48+
with:
49+
java-version: 17.x
50+
distribution: temurin
4651
- name: Run formatter
4752
id: formatter
4853
uses: axel-op/googlejavaformat-action@dbff853fb823671ec5781365233bf86543b13215 # v3

.github/workflows/scorecard.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626

2727
steps:
2828
- name: Harden Runner
29-
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
29+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
3030
with:
3131
disable-sudo: true
3232
egress-policy: block
3333
allowed-endpoints: >
3434
api.osv.dev:443
35+
api.scorecard.dev:443
3536
api.securityscorecards.dev:443
3637
auth.docker.io:443
3738
bestpractices.coreinfrastructure.org:443
@@ -44,12 +45,12 @@ jobs:
4445
*.github.com:443
4546
4647
- name: "Checkout code"
47-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
48+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4849
with:
4950
persist-credentials: false
5051

5152
- name: "Run analysis"
52-
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0
53+
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
5354
with:
5455
results_file: results.sarif
5556
results_format: sarif
@@ -61,6 +62,6 @@ jobs:
6162

6263
# Upload the results to GitHub's code scanning dashboard.
6364
- name: "Upload to code-scanning"
64-
uses: github/codeql-action/upload-sarif@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5
65+
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
6566
with:
6667
sarif_file: results.sarif

0 commit comments

Comments
 (0)