diff options
author | Marco Trevisan (TreviƱo) <[email protected]> | 2024-01-19 15:42:26 +0100 |
---|---|---|
committer | Marco Trevisan <[email protected]> | 2024-01-19 16:22:31 +0100 |
commit | d70a0c42025599b14c0a0bc0b6d78190daa4f998 (patch) | |
tree | c6b9bba7890417b690be60ceee37d59b091d5b8f | |
parent | 2bda45159c61d628206a10b45a80a6f760cff7a2 (diff) |
test: Only install pam modules from archives
We had to workaround this since the ddebs archive wasn't updated with
latest security updates, now it is so just use debug symbols packages
from official repositories.
-rw-r--r-- | .github/workflows/test.yaml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1a296fa..ff083ab 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,8 +12,19 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - - name: Install PAM - run: sudo apt install -y libpam-dev + - name: Update system + run: | + sudo apt-get update -y + sudo apt-get dist-upgrade -y + - name: Install PAM with debug symbols + run: | + sudo apt-get install ubuntu-dbgsym-keyring -y + echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse + deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse + deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" | \ + sudo tee -a /etc/apt/sources.list.d/ddebs.list + sudo apt-get update -y + sudo apt-get install -y libpam-dev libpam-modules-dbgsym libpam0*-dbgsym - name: Add a test user run: sudo useradd -d /tmp/test -p '$1$Qd8H95T5$RYSZQeoFbEB.gS19zS99A0' -s /bin/false test - name: Checkout code |