about summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-01-21 01:20:14 +0100
committerAlexander Barton <alex@barton.de>2024-01-21 01:20:46 +0100
commit2984dad8b4bd259db6501e45df52378b2da5ff2f (patch)
tree2e7164459d179144e60fe2fc1072c09d79d892e4 /.github
parentbb8b6f0fba3b340e24389a2baf76bffff9d7e628 (diff)
downloadngircd-2984dad8b4bd259db6501e45df52378b2da5ff2f.tar.gz
ngircd-2984dad8b4bd259db6501e45df52378b2da5ff2f.zip
"ngIRCd CI" GitHub Action: Update and use cache-apt-pkgs-action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a8e3260b..3d24ea19 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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