ci: perform go fmt test on all files

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2019-04-24 19:07:41 +02:00
parent 772a1044c4
commit 720097ebad
+3
View File
@@ -10,6 +10,9 @@ jobs:
steps:
- checkout
- run: tinygo version
- run:
name: "Enforce Go Formatted Code"
command: "! go fmt ./... 2>&1 | read"
- run: tinygo build -size short -o test.elf -target=itsybitsy-m0 ./examples/adxl345/main.go
- run: tinygo build -size short -o test.elf -target=itsybitsy-m0 ./examples/apa102/main.go
- run: tinygo build -size short -o test.elf -target=itsybitsy-m0 ./examples/bh1750/main.go