Skip to content

Commit

Permalink
Merge pull request #7 from CharlesDias/develop
Browse files Browse the repository at this point in the history
ci: disable shallow clones
  • Loading branch information
Charles Dias authored Jul 8, 2023
2 parents 4e41782 + 267b036 commit 84a7d8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build
on:
workflow_dispatch:
pull_request:
types: [opened, reopened]
types: [opened, synchronize, reopened]
release:
types: [published]

Expand All @@ -17,6 +17,8 @@ jobs:
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Install sonar-scanner and build-wrapper
uses: SonarSource/sonarcloud-github-c-cpp@v1
- name: Run build-wrapper and build firmware
Expand Down

0 comments on commit 84a7d8a

Please sign in to comment.