ci: Update actions/checkout and actions/setup-java to v3 (#2973)

This commit is contained in:
Kirk Lin 2022-11-28 21:49:42 +08:00 committed by LearningGp
parent 30ec6b103f
commit e03444768b
1 changed files with 4 additions and 3 deletions

View File

@ -14,12 +14,13 @@ jobs:
java: [8, 11] java: [8, 11]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v1 uses: actions/setup-java@v3
with: with:
java-version: ${{ matrix.java }} java-version: ${{ matrix.java }}
distribution: 'adopt'
architecture: x64 architecture: x64
- name: Test with Maven - name: Test with Maven
@ -29,4 +30,4 @@ jobs:
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DminimumPriority=1 run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DminimumPriority=1
- name: Run Codecov - name: Run Codecov
run: bash <(curl -s https://codecov.io/bash) run: bash <(curl -s https://codecov.io/bash)