diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 546cd4d..7361082 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -5,9 +5,9 @@ name: CI on: push: - branches: [master] + branches: [master, main] pull_request: - branches: [master] + branches: [master, main] schedule: - cron: "30 4 * * 5" # catch SNAPSHOT breaking changes @@ -16,17 +16,17 @@ jobs: strategy: fail-fast: false matrix: - jdk: [8, 11, 17, 19, 20-ea] + jdk: [8, 11, 17, 21] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK uses: actions/setup-java@v3 with: java-version: ${{ matrix.jdk }} distribution: 'zulu' - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}