From 2984dad8b4bd259db6501e45df52378b2da5ff2f Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 21 Jan 2024 01:20:14 +0100 Subject: [PATCH] "ngIRCd CI" GitHub Action: Update and use cache-apt-pkgs-action --- .github/workflows/ci.yml | 11 ++++++----- 1 file 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 -- 2.39.2