From 8c9a00fca66a45765757168d66139cfeaf76eec3 Mon Sep 17 00:00:00 2001 From: Timothy Stiles Date: Sun, 31 Dec 2023 15:10:48 -0800 Subject: [PATCH] got rid of just tooling and renamed token reference. --- .github/workflows/coverage.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a420928..71f3154 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -17,16 +17,14 @@ jobs: go-version: 1.21 - name: Checkout code uses: actions/checkout@v2 - - name: Set up Just - uses: extractions/setup-just@v1 - name: Generate coverage report run: go test -v -coverprofile=profile.cov ./... - name: Parse overall coverage run: coverage=$(go tool cover -func profile.cov | tail -1 | rev | cut -f 1 | rev) && echo "COVERAGE=$coverage" >> $GITHUB_ENV - name: Create the Badge - run: go run ./test/cmd/main.go -v ./... + run: go run ./coverage/cmd/main.go -v ./... env: - GITHUB_GIST_TOKEN: ${{ secrets.COVERAGE_GIST}} + GITHUB_GIST_TOKEN: ${{ secrets.GITHUB_GIST_TOKEN }} GITHUB_GIST_FILENAME: buster-coverage.json GITHUB_GIST_LABEL: Coverage GITHUB_GIST_MESSAGE: ${{ env.COVERAGE }}