From ccf318d369d7984917d2ef08c21c004fcfaa569b Mon Sep 17 00:00:00 2001 From: Yoshiyuki Mineo Date: Sat, 28 Dec 2024 16:39:48 +0900 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bb82503..bc68232 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,3 +22,11 @@ jobs: run: go test -v ./... - name: Run example run: cd example && go build -o http_breaker && ./http_breaker + - name: gofmt v2 + run: test -z "`cd v2 && gofmt -l .`" + - name: golint v2 + run: test -z "`cd v2 && golint ./...`" + - name: go test v2 + run: cd v2 && go test -v ./... + - name: Run example v2 + run: cd v2/example && go build -o http_breaker && ./http_breaker