From 5e3916dce69973f9e475487dd89a629650cde775 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 4 Feb 2023 04:42:47 +0100 Subject: [PATCH 1/2] ci: upload coverage to codecov Signed-off-by: CrazyMax --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 446d742..693bbb0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,8 +41,8 @@ jobs: targets: test-coverage env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# - -# name: Upload coverage -# uses: codecov/codecov-action@v3 -# with: -# file: ./coverage/clover.xml + - + name: Upload coverage + uses: codecov/codecov-action@v3 + with: + file: ./coverage/clover.xml From f0f0b7692044916a131de4285f6ba2b634b56a26 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 4 Feb 2023 04:51:49 +0100 Subject: [PATCH 2/2] readme: badges Signed-off-by: CrazyMax --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5784568..066f2d0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +[![Version](https://img.shields.io/npm/v/@docker/actions-toolkit?label=version&logo=npm&style=flat-square)](https://www.npmjs.com/package/@docker/actions-toolkit) +[![Downloads](https://img.shields.io/npm/dw/@docker/actions-toolkit?logo=npm&style=flat-square)](https://www.npmjs.com/package/@docker/actions-toolkit) +[![Test workflow](https://img.shields.io/github/actions/workflow/status/docker/actions-toolkit/test.yml?label=test&logo=github&style=flat-square)](https://github.com/docker/actions-toolkit/actions?workflow=test) +[![Codecov](https://img.shields.io/codecov/c/github/docker/actions-toolkit?logo=codecov&style=flat-square)](https://codecov.io/gh/docker/actions-toolkit) + # Actions Toolkit Toolkit for Docker (GitHub) Actions.