From 09abba581276cf1189504e2343cefce5206d40e3 Mon Sep 17 00:00:00 2001 From: httpjamesm Date: Fri, 26 May 2023 13:27:36 -0400 Subject: [PATCH] fix: use github-status-action --- .github/workflows/go.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 8caceae..5232a3a 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -24,11 +24,12 @@ jobs: - name: Test run: go test -v ./... - - - name: Set status - uses: github/set-status-action@v2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - state: ${{ job.status }} - context: Go Compilation - description: ${{ job.status }} + + - name: Run the action # You would run your tests before this using the output to set state/desc + uses: Sibz/github-status-action@v1 + with: + authToken: ${{secrets.GITHUB_TOKEN}} + context: 'Test run' + description: 'Passed' + state: 'success' + sha: ${{github.event.pull_request.head.sha || github.sha}}