diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index abc8b36..fc4238e 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,23 +12,12 @@ jobs: runs-on: ubuntu-22.04 strategy: fail-fast: false # don't cancel if a job from the matrix fails - # steps: - # # git checkout the PR - # - uses: actions/checkout@v4 - # with: - # submodules: 'recursive' - # - name: Install pre-commit tool - # run: | - # apk update - # apk add python3 py3-pip --no-cache - # python3 -m pip install pre-commit - # - name: Install pre-commit in repo - # run: | - # pre-commit install - # - name: Run pre-commit - # run: | - # pre-commit run --all-files --verbose --show-diff-on-failure steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v3 + - name: Install pre-commit dependencies + shell: 'bash' + run: | + sudo apt update + sudo apt install --no-install-recommends libxml2-utils - uses: pre-commit/action@v3.0.0