From fd5268c0129853c82a22c55b79a1d2dba0fee318 Mon Sep 17 00:00:00 2001 From: Cotton Hou Date: Mon, 8 Jul 2024 00:39:37 +0800 Subject: [PATCH] setup Codecov on CI --- .github/workflows/check.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index fad3f3e..712d536 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -4,6 +4,7 @@ on: push permissions: contents: read + id-token: write jobs: test: @@ -32,3 +33,10 @@ jobs: deno coverage --include=./src --lcov --output=cov.lcov deno coverage --include=./src + - name: Run Codecov + uses: codecov/codecov-action@v4 + with: + slug: imcotton/pkg-fence + files: cov.lcov + use_oidc: true +