Speed up drone check (#1324)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
reduce clone depth to minimum migrate to drone 1.x syntax Co-authored-by: max.mehl <max.mehl@fsfe.org>
This commit was merged in pull request #1324.
This commit is contained in:
15
.drone.yml
15
.drone.yml
@@ -1,6 +1,13 @@
|
||||
pipeline:
|
||||
syntaxcheck:
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
depth: 1
|
||||
|
||||
steps:
|
||||
- name: syntaxcheck
|
||||
image: vsasyan/xmllint
|
||||
commands:
|
||||
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
|
||||
- bash tools/check-non-en-frontpage.sh news
|
||||
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
|
||||
- bash tools/check-non-en-frontpage.sh news
|
||||
|
||||
Reference in New Issue
Block a user