Skip to content

Bump fast-xml-parser from 4.4.0 to 4.4.1 #1027

Bump fast-xml-parser from 4.4.0 to 4.4.1

Bump fast-xml-parser from 4.4.0 to 4.4.1 #1027

Workflow file for this run

name: Test
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 3,6'
jobs:
checks:
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- run: |
npm ci
npm run lint
npm run tsc
cache:
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: 🚧 build action
shell: bash
run: |
npm ci
npm run pkg
rm -rf node_modules
- name: πŸ“€ Upload artifact
uses: actions/upload-artifact@v4
with:
name: action
path: dist
- name: 🚧 run action
uses: ./dist
with:
update: true
install: base-devel git
- shell: msys2 {0}
name: 🚦 test
run: |
uname -a
powershell:
needs: [cache]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
- name: πŸŸͺ test MSYS
run: |
$env:MSYSTEM = 'MSYS'
msys2 ./test.sh MSYS
- name: 🟦 test MINGW64
run: |
$env:MSYSTEM = 'MINGW64'
msys2 ./test.sh MINGW64
- name: ⬛ test MINGW32
run: |
$env:MSYSTEM = 'MINGW32'
msys2 ./test.sh MINGW32
- name: 🟨 test UCRT64
run: |
$env:MSYSTEM = 'UCRT64'
msys2 ./test.sh UCRT64
- name: 🟫 test CLANG32
run: |
$env:MSYSTEM = 'CLANG32'
msys2 ./test.sh CLANG32
- name: 🟧 test CLANG64
run: |
$env:MSYSTEM = 'CLANG64'
msys2 ./test.sh CLANG64
cmd:
needs: [cache]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
- name: πŸŸͺ test MSYS
shell: cmd
run: |
set MSYSTEM=MSYS
msys2 ./test.sh MSYS
- name: 🟦 test MINGW64
shell: cmd
run: |
set MSYSTEM=MINGW64
msys2 ./test.sh MINGW64
- name: ⬛ test MINGW32
shell: cmd
run: |
set MSYSTEM=MINGW32
msys2 ./test.sh MINGW32
- name: 🟨 test UCRT64
shell: cmd
run: |
set MSYSTEM=UCRT64
msys2 ./test.sh UCRT64
- name: 🟫 test CLANG32
shell: cmd
run: |
set MSYSTEM=CLANG32
msys2 ./test.sh CLANG32
- name: 🟧 test CLANG64
shell: cmd
run: |
set MSYSTEM=CLANG64
msys2 ./test.sh CLANG64
env:
needs: [cache]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
- name: πŸŸͺ test MSYS
run: msys2 ./test.sh MSYS
env:
MSYSTEM: MSYS
- name: 🟦 test MINGW64
run: msys2 ./test.sh MINGW64
env:
MSYSTEM: MINGW64
- name: ⬛ test MINGW32
run: msys2 ./test.sh MINGW32
env:
MSYSTEM: MINGW32
- name: 🟨 test UCRT64
run: msys2 ./test.sh UCRT64
env:
MSYSTEM: UCRT64
- name: 🟫 test CLANG32
run: msys2 ./test.sh CLANG32
env:
MSYSTEM: CLANG32
- name: 🟧 test CLANG64
run: msys2 ./test.sh CLANG64
env:
MSYSTEM: CLANG64
shell:
needs: [cache]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
- shell: msys2 {0}
run: |
uname -a
MSYS2_PATH_TYPE:
needs: [cache]
runs-on: windows-latest
steps:
- uses: actions/setup-go@v5
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
- run: msys2 -c "go env"
env:
MSYS2_PATH_TYPE: inherit
path-type:
needs: [cache]
runs-on: windows-latest
steps:
- uses: actions/setup-go@v5
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
path-type: inherit
- run: msys2 -c "go env"
install:
name: 🟦 mingw64 | install ${{ matrix.install }}
needs: [cache]
strategy:
fail-fast: false
matrix:
install: [ false, git, 'base-devel git' ]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
update: true
install: ${{ matrix.install }}
msystem: mingw64
- run: msys2 ./test.sh mingw64
defaultclean:
needs: [cache]
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- run: git config --global core.autocrlf input
shell: bash
- name: 🧰 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
update: true
install: base-devel git
- run: git describe --dirty --tags
defaultdirty:
needs: [cache]
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
update: true
install: base-devel git
- run: git describe --dirty --tags
errorhandling:
needs: [cache]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
- shell: msys2 {0}
run: |
(! false | true) || exit 1; # make sure "-o pipefail" is active by default
[[ "$-" =~ 'e' ]] || exit 1; # make sure "set -e" is active by default
workingdir:
needs: [cache]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
- shell: msys2 {0}
run: |
# make sure we are in checkout directory
dir="$(pwd)"
cd "$GITHUB_WORKSPACE"
[[ "$dir" == "$(pwd)" ]]
norelease:
needs: [cache]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
release: false
update: false
install: ccache
- shell: msys2 {0}
run: |
uname -a
nocache:
needs: [cache]
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
release: true
update: true
cache: false
- shell: msys2 {0}
run: |
uname -a
platformchecks:
name: ${{ matrix.icon }} ${{ matrix.platform }} | platformchecks
needs: [cache]
strategy:
fail-fast: false
matrix:
include:
- { platform: macos, icon: '🐧' }
- { platform: ubuntu, icon: '🍎' }
runs-on: ${{ matrix.platform }}-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
platform-check-severity: warn
location:
name: location | ${{ matrix.location }}
needs: [cache]
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
location:
- D:\
- D:\some\arbitrary
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
location: ${{ matrix.location }}
update: false
- shell: msys2 {0}
run: |
cygpath -m /
- shell: pwsh
run: |
$Env:MSYS2_ROOT = msys2 -c 'cygpath -m /'
$Env:MSYS2_ROOT
- shell: python
run: |
from subprocess import check_output
MSYS2_ROOT = check_output(['msys2', '-c', 'cygpath -m /'], shell=True).decode('utf-8')
print(MSYS2_ROOT)
matrix:
needs: cache
name: ⬜ Generate lists of jobs
runs-on: ubuntu-latest
outputs:
jobs: ${{ steps.all.outputs.jobs }}
min: ${{ steps.min.outputs.jobs }}
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- id: all
uses: ./matrix
- id: min
uses: ./matrix
with:
systems: 'mingw32 mingw64 ucrt64 clang64'
msystem:
name: ${{ matrix.icon }} ${{ matrix.sys }} | msystem
needs: matrix
strategy:
fail-fast: false
matrix:
include: ${{ fromJson(needs.matrix.outputs.jobs) }}
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
msystem: ${{ matrix.sys }}
- run: msys2 ./test.sh ${{ matrix.sys }}
update:
name: ${{ matrix.icon }} ${{ matrix.sys }} | update
needs: matrix
strategy:
fail-fast: false
matrix:
include: ${{ fromJson(needs.matrix.outputs.jobs) }}
runs-on: windows-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
update: true
msystem: ${{ matrix.sys }}
- run: msys2 ./test.sh ${{ matrix.sys }}
install-and-pacboy:
name: ${{ matrix.icon }} ${{ matrix.sys }} | install-and-pacboy
needs: matrix
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include: ${{ fromJson(needs.matrix.outputs.min) }}
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
msystem: ${{ matrix.sys }}
update: true
install: git
pacboy: openssl:p
- shell: msys2 {0}
run: |
uname -a
openssl help
pacboy:
name: ${{ matrix.icon }} ${{ matrix.sys }} | pacboy
needs: matrix
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include: ${{ fromJson(needs.matrix.outputs.min) }}
steps:
- name: 🧰 Checkout
uses: actions/checkout@v4
- name: πŸ“₯ Download artifact
uses: actions/download-artifact@v4
with:
name: action
- name: 🚧 run action
uses: ./
with:
msystem: ${{ matrix.sys }}
update: true
pacboy: openssl:p
- shell: msys2 {0}
run: |
uname -a
openssl help