Merge pull request #631 from asdf2014/dependabot/maven/apache.camel.s… #23
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: Test | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.ipynb' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.ipynb' | |
jobs: | |
build: | |
name: Run all of test cases | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: maven | |
- name: Cache Maven target | |
uses: actions/cache@v2 | |
with: | |
path: '**/target' | |
key: maven-target-${{ runner.os }}-${{ github.sha }} | |
restore-keys: maven-target-${{ runner.os }}- | |
- name: Test with Maven | |
run: mvn clean install -T 1C |