From 77f2261f11b8401098c7aebc3df3da045f2e79f5 Mon Sep 17 00:00:00 2001 From: Helge Hecht Date: Tue, 22 Oct 2024 11:45:30 +0000 Subject: [PATCH] Update lintr.yml --- .github/workflows/lintr.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/lintr.yml b/.github/workflows/lintr.yml index 9d20fd2..7dc31b8 100644 --- a/.github/workflows/lintr.yml +++ b/.github/workflows/lintr.yml @@ -53,3 +53,12 @@ jobs: with: sarif_file: lintr-results.sarif wait-for-processing: true + duplicate-code-check: + name: Check for duplicate code + runs-on: ubuntu-20.04 + steps: + - name: Check for duplicate code + uses: platisd/duplicate-code-detection-tool@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + directories: "R/, tests/"