diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 402aadd..20975dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,7 +67,13 @@ jobs: echo '```text' >> $GITHUB_STEP_SUMMARY go tool cover -func=coverage.out >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY - + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + if: matrix.os == 'ubuntu-latest' + with: + slug: Cloudstic/cli + files: coverage.out + token: ${{ secrets.CODECOV_TOKEN }} build: name: Build runs-on: ubuntu-latest diff --git a/README.md b/README.md index dc5cd01..d9fc579 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Cloudstic CLI +[![CI](https://github.com/Cloudstic/cli/actions/workflows/ci.yml/badge.svg)](https://github.com/Cloudstic/cli/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/Cloudstic/cli/branch/main/graph/badge.svg)](https://codecov.io/gh/Cloudstic/cli) +![Release](https://img.shields.io/github/v/release/Cloudstic/cli) +![License](https://img.shields.io/github/license/Cloudstic/cli) +![Go Version](https://img.shields.io/github/go-mod/go-version/Cloudstic/cli) + Content-addressable, encrypted backup tool for Google Drive, OneDrive, and local files. ## Features