Skip to content

Instantly share code, notes, and snippets.

@jackawatts
Last active August 28, 2024 10:51
Show Gist options
  • Save jackawatts/922dcd5d261eab982debdfaef12454d0 to your computer and use it in GitHub Desktop.
Save jackawatts/922dcd5d261eab982debdfaef12454d0 to your computer and use it in GitHub Desktop.

lint bicep

  # Lint bicep
  - script: |
      az bicep build -f src\main.bicep

dotnet format

  - task: DotNetCoreCLI@2
    displayName: 'dotnet format'
    inputs:
      command: 'custom'
      projects: '<solutionpath>'
      custom: 'format'
      arguments: '--no-restore --verify-no-changes'

Classic deployment pipeline troubleshooting

While using classic pipelines, ensure the artifact name does not contain spaces by configuring an alias for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment