diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 4b5a75d0..4cf79fa7 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -27,8 +27,10 @@ jobs: - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python }} + - name: Update apt repositories + run: sudo apt update - name: Install apt dependencies - run: sudo apt-get --yes install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils + run: sudo apt --yes install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils - name: App armor configuration for slapd run: sudo aa-complain /usr/sbin/slapd - uses: actions/cache@v1 @@ -44,8 +46,10 @@ jobs: - uses: actions/setup-python@v2 with: python-version: '3.11' + - name: Update apt repositories + run: sudo apt update - name: Install apt dependencies - run: sudo apt-get --yes install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils + run: sudo apt --yes install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils - name: App armor configuration for slapd run: sudo aa-complain /usr/sbin/slapd - uses: actions/cache@v1 @@ -65,8 +69,10 @@ jobs: - uses: actions/setup-python@v2 with: python-version: '3.11' + - name: Update apt repositories + run: sudo apt update - name: Install apt dependencies - run: sudo apt-get --yes install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils + run: sudo aptt --yes install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils - name: App armor configuration for slapd run: sudo aa-complain /usr/sbin/slapd - uses: actions/cache@v1