Skip to content

Commit

Permalink
Adding debug job to Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashish committed Oct 19, 2023
1 parent 6616839 commit a6417f2
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,32 @@ jobs:
name: SonarCloud
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}
# GOPATH: ${{ github.workspace }}
WORKDIR: src/github.com/${{ github.repository }}

strategy:
matrix:
go: [ '1.21', '1.20', '1.19', '1.18', '1.17' ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
path: ${{ env.WORKDIR }}
- name: Debug
run: |
pwd
echo ${HOME}
echo ${GITHUB_WORKSPACE}
echo ${GOPATH}
echo ${GOROOT}
echo ${{github.workspace}}
echo src/github.com/${{github.repository}}
- name: Build
working-directory: ${{ env.WORKDIR }}
Expand Down

0 comments on commit a6417f2

Please sign in to comment.