Add some basic source-code checks
@@ -23,6 +23,12 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
+ - name: Source-Code formatting
+ run: test -z $(go fmt ./...)
+
+ - name: Source-Code analysis
+ run: go vet ./...
+
- name: Test
run: go test -v -timeout 60s -race ./...
