Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
# yamllint disable rule:line-length
run: |
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key \
curl --proto '=https' --tlsv1.2 -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key \
| sudo gpg --dearmor -o /etc/apt/keyrings/llvm-snapshot.gpg
echo "deb [signed-by=/etc/apt/keyrings/llvm-snapshot.gpg] http://apt.llvm.org/resolute/ llvm-toolchain-resolute-22 main" \
echo "deb [signed-by=/etc/apt/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/resolute/ llvm-toolchain-resolute-22 main" \
| sudo tee /etc/apt/sources.list.d/llvm.list && \
sudo apt-get -y update
sudo apt-get -y install --no-install-recommends --no-install-suggests clang-format-22
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v3
- uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Only required for Organizations, not personal accounts.
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
name: SonarCloud

# yamllint disable rule:line-length

on: # yamllint disable-line rule:truthy
push:
branches: ["main"]
Expand All @@ -19,7 +21,7 @@ jobs:
# Directory where build-wrapper output will be placed
BUILD_WRAPPER_OUT_DIR: build
steps:
- uses: actions/checkout@v7.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
# Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
Expand Down Expand Up @@ -48,17 +50,13 @@ jobs:
run: |
make dependencies

# yamllint disable rule:line-length
- name: Install Build Wrapper
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@ba9859eae8dd6bd29e412f25ddbbef3d032000f4
# yamllint enable rule:line-length

# yamllint disable rule:line-length
- name: Run build-wrapper
run: |
export VCPKG_ROOT=/usr/local/share/vcpkg
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make build
# yamllint enable rule:line-length
- name: Run tests to generate coverage statistics
run: |
make coverage
Expand All @@ -67,7 +65,6 @@ jobs:
run: |
gcovr -e "src/tests/*" --sonarqube > coverage.xml

# yamllint disable rule:line-length
- name: Analyze with SonarQube / SonarCloud
uses: SonarSource/sonarqube-scan-action@ba9859eae8dd6bd29e412f25ddbbef3d032000f4
env:
Expand All @@ -77,4 +74,3 @@ jobs:
args: >
--define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json
--define sonar.coverageReportPaths=coverage.xml
# yamllint enable rule:line-length
Loading