From fbdc3337782d300e5e8f53ec400b663db3fa3d4b Mon Sep 17 00:00:00 2001 From: marcellmueller Date: Tue, 25 Jul 2023 15:14:42 -0700 Subject: [PATCH] test: resuable actions --- .github/workflows/test-code.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-code.yaml b/.github/workflows/test-code.yaml index 07c0cca40c..52d138fb6d 100644 --- a/.github/workflows/test-code.yaml +++ b/.github/workflows/test-code.yaml @@ -111,10 +111,10 @@ jobs: working-directory: ./app run: yarn test --coverage - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + uses: button-inc/button-shared-gh-actions/.github/workflows/scan-code-sonarcloud.yml@develop + secrets: + github-token: ${{ secrets.GITHUB_TOKEN }} + sonar-token: ${{ secrets.SONAR_TOKEN}} eslint: needs: [install-test-env]