3838 name : ' checksrc'
3939 runs-on : ubuntu-latest
4040 steps :
41- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
41+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 .0.0
4242 with :
4343 persist-credentials : false
4444
4949 name : ' spellcheck, linters, REUSE'
5050 runs-on : ubuntu-latest
5151 steps :
52- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
52+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 .0.0
5353 with :
5454 persist-credentials : false
5555
7373 .github/scripts/codespell.sh
7474
7575 - name : ' typos'
76+ timeout-minutes : 2
7677 run : |
7778 HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install typos-cli
7879 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
@@ -111,7 +112,7 @@ jobs:
111112 sudo apt-get -o Dpkg::Use-Pty=0 install \
112113 pmccabe
113114
114- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
115+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 .0.0
115116 with :
116117 persist-credentials : false
117118
@@ -120,25 +121,38 @@ jobs:
120121
121122 xmllint :
122123 name : ' xmllint'
123- runs-on : macos -latest
124+ runs-on : ubuntu -latest
124125 timeout-minutes : 1
125126 steps :
126- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
127+ - name : ' install prereqs'
128+ run : |
129+ sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
130+ sudo apt-get -o Dpkg::Use-Pty=0 update
131+ sudo rm -f /var/lib/man-db/auto-update
132+ sudo apt-get -o Dpkg::Use-Pty=0 install \
133+ libxml2-utils
134+
135+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
127136 with :
128137 persist-credentials : false
129138
130139 - name : ' check'
131- run : git grep -z -i -l -E '^<\?xml' | xargs -0 -r xmllint >/dev/null
140+ run : |
141+ {
142+ git grep -z -i -l -E '^<\?xml' || true
143+ git grep -z -L -F 'notxml' 'tests/data/test*' || true
144+ } | xargs -0 -r xmllint >/dev/null
132145
133146 miscchecks :
134147 name : ' misc checks'
135148 runs-on : ubuntu-latest
136149 timeout-minutes : 5
137150 steps :
138151 - name : ' install prereqs'
139- run : HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install shellcheck zizmor
152+ timeout-minutes : 2
153+ run : HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install actionlint shellcheck zizmor
140154
141- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
155+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 .0.0
142156 with :
143157 persist-credentials : false
144158
@@ -149,6 +163,13 @@ jobs:
149163 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
150164 zizmor --pedantic .github/workflows/*.yml .github/dependabot.yml
151165
166+ - name : ' actionlint'
167+ run : |
168+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
169+ export SHELLCHECK_OPTS='--exclude=1090,1091,2086,2153 --enable=avoid-nullary-conditions,deprecate-which'
170+ actionlint --version
171+ actionlint --ignore matrix .github/workflows/*.yml
172+
152173 - name : ' shellcheck CI'
153174 run : |
154175 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
0 commit comments