ci: expand CI checks and make consumer sync opt-in
- Add Go, npm, Python, and Java validation to CI - Run Go tests against PostgreSQL - Record performance fixes in the report
This commit is contained in:
1 parent
199a5efaef
commit
22887fef03
100 files changed
+9740
-429
No files matched your search
@@ -26,6 +26,17 @@ jobs:
|
||||
go-version-file: backend/go.mod
|
||||
cache: false
|
||||
|
||||
- name: Check formatting and vet the Go module
|
||||
working-directory: backend
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mapfile -d '' go_files < <(find . -type f -name '*.go' -print0)
|
||||
if ((${#go_files[@]})); then
|
||||
test -z "$(gofmt -l "${go_files[@]}")"
|
||||
fi
|
||||
go vet ./...
|
||||
|
||||
- name: Test Go module
|
||||
working-directory: backend
|
||||
run: go test ./...
|
||||
|
||||
Reference in new issue
Block a user