Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/validate-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Validate templates
on:
push:
branches: [master]
paths: ['infra/**', 'scripts/**', '.github/workflows/validate-templates.yml']
paths: ['infra/**', 'scripts/**', 'tools/**', '.github/workflows/validate-templates.yml']
pull_request:
paths: ['infra/**', 'scripts/**', '.github/workflows/validate-templates.yml']
paths: ['infra/**', 'scripts/**', 'tools/**', '.github/workflows/validate-templates.yml']
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -54,10 +54,11 @@ jobs:
# shebang with "bad interpreter: No such file or directory".
- name: Reject CRLF line endings
run: |
if grep -rlU $'\r' scripts/linux labs; then
if grep -rlU $'\r' scripts/linux labs tools; then
echo "::error::Files above contain CRLF line endings; they must be LF."
exit 1
fi

- name: Check syntax
run: for f in scripts/linux/*.sh; do bash -n "$f"; done
run: |
for f in scripts/linux/*.sh tools/*.sh; do bash -n "$f"; done
137 changes: 108 additions & 29 deletions README.md

Large diffs are not rendered by default.

259 changes: 0 additions & 259 deletions infra/arm/linux-router-newsubnet.json

This file was deleted.

Loading
Loading