diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7e25a74..18e53dd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,14 +18,53 @@ jobs: with: go-version: '1.20' - - name: Build - run: go build -v ./... + - name: Build OAuth2 + run: cd oauth2 && go build -v ./... - - name: Vet - run: go vet -v ./... + - name: Vet OAuth2 + run: cd oauth2 && go vet -v ./... - - name: Test - run: go test -v ./... + - name: Test Oauth2 + run: cd oauth2 && go test -v ./... + + - name: Build websmtp + run: cd websmtp && go build -v ./... + + - name: Vet websmtp + run: cd websmtp && go vet -v ./... + + - name: Test websmtp + run: cd websmtp && go test -v ./... + + - name: Vet pkg/authapi + run: cd pkg/authapi && go vet -v ./... + + - name: Test pkg/authapi + run: cd pkg/authapi && go test -v ./... + + - name: Vet pkg/authdb + run: cd pkg/authdb && go vet -v ./... + + - name: Test pkg/authdb + run: cd pkg/authdb && go test -v ./... + + - name: Vet pkg/authmw + run: cd pkg/authmw && go vet -v ./... + + - name: Test pkg/authmw + run: cd pkg/authmw && go test -v ./... + + - name: Vet pkg/common + run: cd pkg/common && go vet -v ./... + + - name: Test pkg/common + run: cd pkg/common && go test -v ./... + + - name: Vet pkg/websmtp + run: cd pkg/websmtp && go vet -v ./... + + - name: Test pkg/websmtp + run: cd pkg/websmtp && go test -v ./... static: runs-on: ubuntu-latest