Skip to content

Commit

Permalink
Add missing xmllint
Browse files Browse the repository at this point in the history
* And run the workflow on PR and push to humble

Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 authored and srmainwaring committed Dec 14, 2023
1 parent bdeae1b commit 067e7f1
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
---
name: pre-commit

on: [push]
on:
pull_request:
push:
branches: [humble]


concurrency:
group: ci-${{github.workflow}}-${{ github.ref }}
Expand All @@ -12,23 +16,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/[email protected]

0 comments on commit 067e7f1

Please sign in to comment.