This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 3568b8673 RATIS-1683. Upgrade ubuntu version from 18.04 to 20.04 (#722)
3568b8673 is described below

commit 3568b8673521a585f5f6fa1918aa787b268ed9f6
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)
---
 .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

Reply via email to