diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c54e42..65d5b17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,10 +34,15 @@ jobs: - name: Install dependencies run: composer install --no-dev --no-interaction --no-progress - - name: Setup xmllint - run: | - sudo apt-get update - sudo apt-get install --no-install-recommends -y libxml2-utils + # Updating the lists can fail intermittently, typically after Microsoft has released a new package. + # This should not be blocking for this job, so ignore any errors from this step. + # Ref: https://github.com/dotnet/core/issues/4167 + - name: Update the available packages list + continue-on-error: true + run: sudo apt-get update + + - name: Install xmllint + run: sudo apt-get install --no-install-recommends -y libxml2-utils # Show violations inline in the file diff. # @link https://github.com/marketplace/actions/xmllint-problem-matcher