From c360385fe7d73ba0323d03a3ed0d521e951a998f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hermann?= Date: Sat, 7 Mar 2026 23:51:59 +0100 Subject: [PATCH] shore: setup codecov --- .github/workflows/ci.yml | 8 +++++++- README.md | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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