Skip to content

Commit

Permalink
remove token
Browse files Browse the repository at this point in the history
  • Loading branch information
mehabhalodiya authored Oct 26, 2023
1 parent b8cf7ed commit cca9f73
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,23 @@ jobs:
- name: Checkout Git Repository
uses: actions/checkout@v3

- name: Unit Tests with Code Coverage
- name: Run Go Tests
run: make test

- name: Check format
run: |
make test
if [[ $(go fmt `go list ./... | grep -v vendor`) ]]; then
echo "not well formatted sources are found"
exit 1
fi
- name: Upload Code Coverage Report
uses: codecov/codecov-action@v3
- name: Generate coverage report
run: |
go test `go list ./... | grep -v examples` -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: cover.out
verbose: true
fail_ci_if_error: true
file: ./coverage.txt
flags: unittests
name: codecov-umbrella

0 comments on commit cca9f73

Please sign in to comment.