Archived
Refactor repo for standalone portable provider workflow
This commit is contained in:
1 parent
bf179254b5
commit
3b6d62ba07
9 files changed
+171
-203
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
echo "[check] Running gofmt"
|
||||
files="$(git ls-files '*.go')"
|
||||
if [[ -n "$files" ]]; then
|
||||
# shellcheck disable=SC2086
|
||||
gofmt -w $files
|
||||
fi
|
||||
|
||||
echo "[check] Running go test"
|
||||
go test ./...
|
||||
|
||||
echo "[check] Completed"
|
||||
Reference in new issue
Block a user