Update go gin to newer version (#16593) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Samples Java Spring (JDK17) | |
on: | |
push: | |
paths: | |
- samples/openapi3/client/petstore/spring-cloud-3-with-optional | |
pull_request: | |
paths: | |
- samples/openapi3/client/petstore/spring-cloud-3-with-optional | |
jobs: | |
build: | |
name: Build Java Spring (JDK17) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
# clients | |
- samples/openapi3/client/petstore/spring-cloud-3-with-optional | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Cache maven dependencies | |
uses: actions/cache@v3 | |
env: | |
cache-name: maven-repository | |
with: | |
path: | | |
~/.m2 | |
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} | |
- name: Build | |
working-directory: ${{ matrix.sample }} | |
run: mvn clean package |