This is an automated email from the ASF dual-hosted git repository. dragonyliu pushed a commit to branch branch-2 in repository https://gitbox.apache.org/repos/asf/ratis.git
commit 4e4dbfd5da79285004f46129b3a7bfef7618a36e Author: Yaolong Liu <[email protected]> AuthorDate: Mon Aug 22 23:08:40 2022 +0800 RATIS-1683. Upgrade ubuntu version from 18.04 to 20.04 (#722) (cherry picked from commit 3568b8673521a585f5f6fa1918aa787b268ed9f6) --- .github/workflows/post-commit.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml index 1ea5ef00e..bdf37ba02 100644 --- a/.github/workflows/post-commit.yml +++ b/.github/workflows/post-commit.yml @@ -18,7 +18,7 @@ on: - pull_request jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Checkout project uses: actions/checkout@v2 @@ -48,7 +48,7 @@ jobs: compile: needs: - build - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: java: [ 11 ] @@ -80,7 +80,7 @@ jobs: if: always() rat: name: rat - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@master - name: Cache for maven dependencies @@ -102,7 +102,7 @@ jobs: if: always() author: name: author - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@master - run: ./dev-support/checks/author.sh @@ -113,7 +113,7 @@ jobs: path: target/author unit: name: unit - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: profile: @@ -150,7 +150,7 @@ jobs: if: always() checkstyle: name: checkstyle - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@master - name: Cache for maven dependencies @@ -172,8 +172,12 @@ jobs: if: always() findbugs: name: findbugs - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: + - name: Setup java + uses: actions/setup-java@v1 + with: + java-version: 8 - uses: actions/checkout@master - name: Cache for maven dependencies uses: actions/cache@v2 @@ -194,7 +198,7 @@ jobs: if: always() sonar: name: sonar - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 if: (github.repository == 'apache/ratis' || github.repository == 'apache/incubator-ratis') && github.event_name != 'pull_request' steps: - uses: actions/checkout@master
