From 2f83b38ea2b34b1093cc351f5b451a159c5b1c01 Mon Sep 17 00:00:00 2001 From: Aashish Date: Fri, 20 Oct 2023 12:35:03 +0700 Subject: [PATCH] Still debugging --- .github/workflows/code-coverage.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 7fdc735..17289f3 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -17,19 +17,21 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - path: ${{ env.WORKDIR }} + - name: Set up Go ${{ matrix.go }} uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - cache: false + + - uses: actions/checkout@v4 + with: + path: ${{ env.WORKDIR }} - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: version: v1.54 - working-directory: ${{ env.WORKDIR }} - + - name: Debug run: | pwd @@ -55,14 +57,12 @@ jobs: GOPATH: ${{ github.workspace }} run: .github/scripts/code-coverage.sh - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - with: - path: ${{ github.workspace }} - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - # GOPATH: ${{ github.workspace }} + args: > + -Dsonar.organization=omise + -Dsonar.projectKey=omise_omise-go