xml parser: fix regressions #432
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
linux: | |
name: Static linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install prerequisites | |
run: sudo apt-get update && sudo apt-get install clang-tidy cppcheck jq libxml2-utils | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Lint | |
run: .ci/script.sh | |
# NPM tests | |
- name: Uses Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'latest' | |
# No cache, there are complaints about lockfiles that we don't want otherwise. See <https://github.com/actions/setup-node/issues/928>. | |
# cache: 'npm' | |
- run: npm init --yes && npm install stylelint stylelint-config-standard | |
- name: Check CSS syntax (only epub.css, html5.css and fb2.css) | |
run: npx stylelint cr3gui/data/epub.css cr3gui/data/html5.css cr3gui/data/fb2.css |