From 78360f881887b78c28b250f8eadc0e4b6f7b0452 Mon Sep 17 00:00:00 2001 From: Jmnote Date: Fri, 29 Dec 2023 14:08:11 +0000 Subject: [PATCH] workflows --- .github/workflows/pull-request.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index ffbbdc8..c5b6e97 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -76,16 +76,17 @@ jobs: go-test-coverage: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version: '^1.21.5' - - uses: actions/checkout@v3 - - run: go test ./... -race -covermode=atomic -coverprofile=coverage.out - - uses: codecov/codecov-action@v3 - - run: go install github.com/mattn/goveralls@latest - - run: goveralls -coverprofile=coverage.out -service=github + - run: go test ./... -race -covermode=atomic -coverprofile=coverage.txt + - uses: codecov/codecov-action@v4-beta env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - uses: shogo82148/actions-goveralls@v1 + with: + path-to-profile: coverage.txt go-licenses: runs-on: ubuntu-latest