Skip to content

chore(deps): update all non-major dependencies #850

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #850

Workflow file for this run

name: Java Conformance CI
on:
push:
branches:
- main
pull_request:
# Declare default permissions as read only.
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [
11.x,
]
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
objects.githubusercontent.com:443
proxy.golang.org:443
repo.maven.apache.org:443
storage.googleapis.com:443
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.21'
- name: Build API with Maven
run: (cd functions-framework-api/ && mvn install)
- name: Build invoker with Maven
run: (cd invoker/ && mvn install)
- name: Build invoker Maven Plugin
run: (cd function-maven-plugin/ && mvn install)
- name: Run HTTP conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
with:
functionType: 'http'
useBuildpacks: false
cmd: "'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.HttpConformanceFunction'"
startDelay: 10
- name: Run Typed conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
with:
functionType: 'http'
declarativeType: 'typed'
useBuildpacks: false
cmd: "'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.TypedConformanceFunction'"
startDelay: 10
- name: Run background event conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
with:
functionType: 'legacyevent'
useBuildpacks: false
validateMapping: true
cmd: "'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.BackgroundEventConformanceFunction'"
startDelay: 10
- name: Run cloudevent conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
with:
functionType: 'cloudevent'
useBuildpacks: false
validateMapping: true
cmd: "'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.CloudEventsConformanceFunction'"
startDelay: 10
- name: Run HTTP concurrency conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # main
with:
functionType: 'http'
useBuildpacks: false
validateConcurrency: true
cmd: "'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.ConcurrentHttpConformanceFunction'"
startDelay: 10