Rewrite GitHub Action

Change-Id: I44a535ded218ceec43af0a98919f83ba2b508ed3
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 03574a6..bb6b650 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -7,34 +7,26 @@
       - '*'
   pull_request:
 jobs:
-  perl:
+  build:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        perl-version:
-          - '5.20'
-          - '5.22'
-          - '5.30'
-          - '5.32'
-        java: [ 8, 11 ]
-    name: Perl ${{ matrix.perl-version }} and Java ${{ matrix.java }} on Linux
-    container:
-      image: perl:${{ matrix.perl-version }}
+        perl: [ '5.32', '5.30', '5.20' ]
+    name: Perl ${{ matrix.perl }}
     steps:
-      - uses: actions/setup-java@v1
-        with:
-          java-version: ${{ matrix.java }}
-          java-package: jre
       - uses: actions/checkout@v2
-      - name: perl -V
-        run: perl -V
-      - name: Install libxml
-        run: sudo apt-get install libxml2-dev
+      - name: Setup Perl environment
+        uses: shogo82148/actions-setup-perl@v1.10.0
+        with:
+          perl-version: ${{ matrix.perl }}
+      - run: perl -V
       - name: Install dependencies
-        run: cpanm -v --installdeps .
+        run: |
+          cpanm File::ShareDir::Install
+          cpanm --installdeps .
       - name: Install
         run: |
           perl Makefile.PL
           make install
       - name: Run tests
-        run: prove -lr t/
+        run: prove -lr t