]> arthur.barton.de Git - ngircd.git/commitdiff
"ngIRCd CI" GitHub Action: Update and use cache-apt-pkgs-action
authorAlexander Barton <alex@barton.de>
Sun, 21 Jan 2024 00:20:14 +0000 (01:20 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 21 Jan 2024 00:20:46 +0000 (01:20 +0100)
.github/workflows/ci.yml

index a8e3260b8688c95dc1ebfd86494c082e914a766a..3d24ea191ae6a35606969c95d8896be8b4f8dbb0 100644 (file)
@@ -5,7 +5,6 @@ on:
     branches:
       - master
     paths-ignore:
-      - 'AUTHORS'
       - 'COPYING'
       - 'ChangeLog'
       - 'NEWS'
@@ -18,7 +17,6 @@ on:
     branches:
       - master
     paths-ignore:
-      - 'AUTHORS'
       - 'COPYING'
       - 'ChangeLog'
       - 'NEWS'
@@ -31,13 +29,16 @@ on:
 jobs:
   build_and_distcheck:
 
+    name: Configure ngIRCd sources and run make targets "all" and "distcheck"
     runs-on: ubuntu-latest
     timeout-minutes: 10
 
     steps:
-    - uses: actions/checkout@v3
-    - name: Install packages
-      run: sudo apt-get install autoconf automake build-essential expect libident-dev libpam-dev libssl-dev libwrap0-dev libz-dev pkg-config telnet
+    - uses: actions/checkout@v4
+    - uses: awalsh128/cache-apt-pkgs-action@v1
+      with:
+        packages: autoconf automake build-essential expect libident-dev libpam-dev libssl-dev libwrap0-dev libz-dev pkg-config telnet
+        version: 1.0
     - name: Generate build system files
       run: ./autogen.sh
     - name: Configure the build system