summaryrefslogtreecommitdiffstats
path: root/.ci/templates/format-check.yml
blob: 5061f1cb8e196781ab2d8bf2c56e86b07e77de56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
parameters:
  artifactSource: 'true'

steps:
- template: ./sync-source.yml
  parameters:
    artifactSource: $(parameters.artifactSource)
    needSubmodules: 'false'
- task: DockerInstaller@0
  displayName: 'Prepare Environment'
  inputs:
    dockerVersion: '17.09.0-ce'
- script: chmod a+x ./.ci/scripts/format/exec.sh && ./.ci/scripts/format/exec.sh
  displayName: 'Verify Formatting'