From 0367b73b93090355ea07fb1381203ff017947750 Mon Sep 17 00:00:00 2001 From: AhmedGrati Date: Sun, 15 Oct 2023 00:04:14 +0100 Subject: [PATCH] chore: install dyff in CI pipeline Signed-off-by: AhmedGrati --- .github/workflows/go.yml | 1 - .github/workflows/test.yml | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c6340f0e..97ce43b2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -28,7 +28,6 @@ jobs: - name: Build run: make bin - - name: Upload a Build Artifact uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e083215a..9bd8efd9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,8 @@ jobs: - uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} + - name: Install dyff + run: go install github.com/homeport/dyff/cmd/dyff@v1.5.8 - name: Run tests run: make test - name: Perform cross compile @@ -34,6 +36,8 @@ jobs: - uses: actions/setup-go@v4 with: go-version: 1.19 + - name: Install dyff + run: go install github.com/homeport/dyff/cmd/dyff@v1.5.8 - name: Create .coverprofile for each targeted directory by re:running tests run: make test - name: Collect all .coverprofile files and save it to one file gover.coverprofile