diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17bee39..361b933 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,7 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '^1.22.3' @@ -26,6 +27,7 @@ jobs: with: path: | ~/.cache/go-build + ~/go/pkg/mod /go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | @@ -47,21 +49,22 @@ jobs: - name: Run Static Code Analysis run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && golangci-lint run - + - name: Run Unit Tests run: bash coverage.sh - - name: Upload Test Coverage - uses: actions/upload-artifact@v3 - with: - name: coverage-report - path: coverage.out - - name: Build run: go build -o wpokt-oracle . - - name: Upload Build Artifact - uses: actions/upload-artifact@v3 - with: - name: wpokt-oracle - path: wpokt-oracle + # - name: Upload Test Coverage + # uses: actions/upload-artifact@v3 + # with: + # name: coverage-report + # path: coverage.out + # + # - name: Upload Build Artifact + # uses: actions/upload-artifact@v3 + # with: + # name: wpokt-oracle + # path: wpokt-oracle + #