Skip to content

Commit c7231c6

Browse files
authored
Update checksrc.yml
1 parent 47c16c2 commit c7231c6

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

.github/workflows/checksrc.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ name: 'Source'
1616
- 'appveyor.*'
1717
- 'Dockerfile'
1818
- 'plan9/**'
19-
- 'tests/data/**'
2019
pull_request:
2120
branches:
2221
- master
@@ -25,7 +24,6 @@ name: 'Source'
2524
- 'appveyor.*'
2625
- 'Dockerfile'
2726
- 'plan9/**'
28-
- 'tests/data/**'
2927

3028
concurrency:
3129
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
@@ -38,7 +36,7 @@ jobs:
3836
name: 'checksrc'
3937
runs-on: ubuntu-latest
4038
steps:
41-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
39+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4240
with:
4341
persist-credentials: false
4442

@@ -49,7 +47,7 @@ jobs:
4947
name: 'spellcheck, linters, REUSE'
5048
runs-on: ubuntu-latest
5149
steps:
52-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
50+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5351
with:
5452
persist-credentials: false
5553

@@ -112,7 +110,7 @@ jobs:
112110
sudo apt-get -o Dpkg::Use-Pty=0 install \
113111
pmccabe
114112
115-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
113+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
116114
with:
117115
persist-credentials: false
118116

@@ -122,7 +120,7 @@ jobs:
122120
xmllint:
123121
name: 'xmllint'
124122
runs-on: ubuntu-latest
125-
timeout-minutes: 1
123+
timeout-minutes: 3
126124
steps:
127125
- name: 'install prereqs'
128126
run: |
@@ -132,16 +130,12 @@ jobs:
132130
sudo apt-get -o Dpkg::Use-Pty=0 install \
133131
libxml2-utils
134132
135-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
133+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
136134
with:
137135
persist-credentials: false
138136

139137
- name: 'check'
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
138+
run: git grep -z -i -l -E '^<\?xml' | xargs -0 -r xmllint --output /dev/null
145139

146140
miscchecks:
147141
name: 'misc checks'
@@ -152,7 +146,7 @@ jobs:
152146
timeout-minutes: 2
153147
run: HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install actionlint shellcheck zizmor
154148

155-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
149+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
156150
with:
157151
persist-credentials: false
158152

0 commit comments

Comments
 (0)