Skip to content

chore(deps): Upgrade to Jetty-10 #733

chore(deps): Upgrade to Jetty-10

chore(deps): Upgrade to Jetty-10 #733

Workflow file for this run

name: Java Unit CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [
11.x,
17.x,
21-ea
]
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
repo.maven.apache.org:443
api.adoptium.net:443
*.githubusercontent.com:443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Build with Maven
run: (cd functions-framework-api/ && mvn install)
- name: Test
run: (cd invoker/ && mvn test)