Skip to content

Commit ab7a00c

Browse files
authored
fix: ci (#39)
1 parent ea25c72 commit ab7a00c

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,13 @@ jobs:
2424
run: |
2525
make test
2626
make test-json
27-
- name: SonarCloud Scan
28-
uses: SonarSource/sonarcloud-github-action@master
27+
- uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
30+
- uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
33+
- name: SonarQube Scan
34+
uses: SonarSource/sonarqube-scan-action@v5
2935
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3136
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
32-
# - name: Build image and push to Docker Hub and GitHub Container Registry
33-
# uses: docker/build-push-action@v2
34-
# with:
35-
# context: .
36-
# tags: |
37-
# oskardudycz/eventsourcing.nodejs.simple:latest
38-
# ghcr.io/oskardudycz/eventsourcing.nodejs/simple:latest
39-
# push: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)