Skip to content

Commit 28f55ba

Browse files
authored
ci(): Add Drone CI (#26)
The CI currently verifies that the code is formatted.
1 parent df141a1 commit 28f55ba

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.drone.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
kind: pipeline
3+
type: docker
4+
name: Build
5+
6+
steps:
7+
- name: formatter
8+
image: mcr.microsoft.com/powershell:alpine-3.14
9+
commands:
10+
- pwsh ./Invoke-Formatter.ps1 -exitCodeOnFormat
11+
environment:
12+
# Disable debugging and profiling
13+
COMPlus_EnableDiagnostics: 0
14+
15+
trigger:
16+
ref:
17+
- refs/heads/master
18+
- refs/tags/**
19+
- refs/pull/**

0 commit comments

Comments
 (0)