Skip to content

Commit

Permalink
CICD: Bring in a faster xmllint
Browse files Browse the repository at this point in the history
  • Loading branch information
julianxhokaxhiu committed May 16, 2024
1 parent dc551bb commit 9273c88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
git config --global core.longpaths true
- name: Checkout
uses: actions/[email protected]
- name: Install xmlint
uses: baptiste0928/cargo-install@v3
with:
crate: xmllint
git: https://github.com/dotaxis/xmllint
commit: c28b413d3f9c73a3a343523e9a806962b56b1d1d
- name: Prepare Env
run: ".github/workflows/prepare.ps1"
shell: pwsh
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/prepare.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ Write-Output "_RELEASE_VERSION=${env:_RELEASE_VERSION}" >> ${env:GITHUB_ENV}
Write-Output "_IS_BUILD_CANARY=${env:_IS_BUILD_CANARY}" >> ${env:GITHUB_ENV}
Write-Output "_IS_GITHUB_RELEASE=${env:_IS_GITHUB_RELEASE}" >> ${env:GITHUB_ENV}

choco install xsltproc

# Lint all XML files
foreach($file in Get-ChildItem -Path .\catalogs\*.xml –Recurse)
{
Expand Down

0 comments on commit 9273c88

Please sign in to comment.