Skip to content

Commit 6830578

Browse files
author
Jonathan D.A. Jewell
committed
fix: correct workflow action SHAs and line length
- Update github/codeql-action to correct v3 SHA (33119e58) - Update trufflesecurity/trufflehog to current main SHA (e9734c1f) - Fix EditorConfig violation in src/xray/mod.rs (line >100 chars) Fixes GitHub Actions failures in CodeQL, Quality Checks, and Scorecard workflows.
1 parent 52d9aa6 commit 6830578

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2828

2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@6624720a57d4c312633c7b953db2f2da5bcb4c3a # v3
30+
uses: github/codeql-action/init@33119e582d3ab4ed79c2610af108cb08ff983917 # v3
3131
with:
3232
languages: ${{ matrix.language }}
3333

3434
- name: Autobuild
35-
uses: github/codeql-action/autobuild@6624720a57d4c312633c7b953db2f2da5bcb4c3a # v3
35+
uses: github/codeql-action/autobuild@33119e582d3ab4ed79c2610af108cb08ff983917 # v3
3636

3737
- name: Perform CodeQL Analysis
38-
uses: github/codeql-action/analyze@6624720a57d4c312633c7b953db2f2da5bcb4c3a # v3
38+
uses: github/codeql-action/analyze@33119e582d3ab4ed79c2610af108cb08ff983917 # v3
3939
with:
4040
category: "/language:${{matrix.language}}"

.github/workflows/quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 0
2222

2323
- name: TruffleHog OSS
24-
uses: trufflesecurity/trufflehog@7ee2e0fdffec27d19ccbb8fb3dcf8a83b9d7f9e8 # main
24+
uses: trufflesecurity/trufflehog@e9734c1ff25106f68d4266f0b09c1fcfc915dad1 # main
2525
with:
2626
path: ./
2727
base: ${{ github.event.repository.default_branch }}

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
publish_results: true
3232

3333
- name: Upload to code-scanning
34-
uses: github/codeql-action/upload-sarif@6624720a57d4c312633c7b953db2f2da5bcb4c3a # v3
34+
uses: github/codeql-action/upload-sarif@33119e582d3ab4ed79c2610af108cb08ff983917 # v3
3535
with:
3636
sarif_file: results.sarif

src/xray/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ pub fn analyze_verbose<P: AsRef<Path>>(target: P) -> Result<XRayReport> {
4949

5050
for (rank, (risk, fs)) in scored.iter().take(10).enumerate() {
5151
println!(
52-
" {}. {} (risk: {}, lines: {}, unsafe: {}, panics: {}, unwraps: {}, alloc: {}, io: {}, threads: {})",
52+
" {}. {} (risk: {}, lines: {}, unsafe: {}, panics: {}, \
53+
unwraps: {}, alloc: {}, io: {}, threads: {})",
5354
rank + 1,
5455
fs.file_path,
5556
risk,

0 commit comments

Comments
 (0)