Skip to content

Commit c180005

Browse files
committed
Merge #461: chore: update dependencies
3a85dc9 chore: update dependencies (Jose Celano) 6cc8858 fix: fix yaml linting issues in codeql.yml (Jose Celano) Pull request description: ## Summary Update Rust dependencies via `cargo update`. ### Changes **Dependency updates** (`Cargo.lock`): - `axum` v0.8.8 → v0.8.9 - `bitflags` v2.11.0 → v2.11.1 - `hyper-rustls` v0.27.8 → v0.27.9 - `libc` v0.2.184 → v0.2.185 - `rand` v0.9.3 → v0.9.4 (v0.10.1 available but out of semver range) - `rustls-webpki` v0.103.11 → v0.103.12 - `tokio` v1.51.1 → v1.52.0 **YAML lint fix** (`.github/workflows/codeql.yml`): - Fixed indentation and bracket spacing issues that were blocking the pre-commit hook. ACKs for top commit: josecelano: ACK 3a85dc9 Tree-SHA512: b6853b9a8590283b89d0b5d3ead174420c5b197e9a4803d17232362a8a8903984e65a51b8a6b00b48c42e42398a7ee84e6832064c2c9affed3797795caa3329a
2 parents f16b28a + 3a85dc9 commit c180005

2 files changed

Lines changed: 64 additions & 74 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 47 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL Advanced"
132

143
on:
154
push:
16-
branches: [ "main" ]
5+
branches: ["main"]
176
pull_request:
18-
branches: [ "main" ]
7+
branches: ["main"]
198
schedule:
20-
- cron: '24 23 * * 5'
9+
- cron: "24 23 * * 5"
2110

2211
jobs:
2312
analyze:
@@ -42,11 +31,6 @@ jobs:
4231
strategy:
4332
fail-fast: false
4433
matrix:
45-
include:
46-
- language: actions
47-
build-mode: none
48-
- language: rust
49-
build-mode: none
5034
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
5135
# Use `c-cpp` to analyze code written in C, C++ or both
5236
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -55,47 +39,53 @@ jobs:
5539
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
5640
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
5741
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
42+
include:
43+
- language: actions
44+
build-mode: none
45+
- language: rust
46+
build-mode: none
5847
steps:
59-
- name: Checkout repository
60-
uses: actions/checkout@v4
48+
- name: Checkout repository
49+
uses: actions/checkout@v4
6150

62-
# Add any setup steps before running the `github/codeql-action/init` action.
63-
# This includes steps like installing compilers or runtimes (`actions/setup-node`
64-
# or others). This is typically only required for manual builds.
65-
# - name: Setup runtime (example)
66-
# uses: actions/setup-example@v1
51+
# Add any setup steps before running the `github/codeql-action/init` action.
52+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
53+
# or others). This is typically only required for manual builds.
54+
# - name: Setup runtime (example)
55+
# uses: actions/setup-example@v1
6756

68-
# Initializes the CodeQL tools for scanning.
69-
- name: Initialize CodeQL
70-
uses: github/codeql-action/init@v4
71-
with:
72-
languages: ${{ matrix.language }}
73-
build-mode: ${{ matrix.build-mode }}
74-
# If you wish to specify custom queries, you can do so here or in a config file.
75-
# By default, queries listed here will override any specified in a config file.
76-
# Prefix the list here with "+" to use these queries and those in the config file.
57+
# Initializes the CodeQL tools for scanning.
58+
- name: Initialize CodeQL
59+
uses: github/codeql-action/init@v4
60+
with:
61+
languages: ${{ matrix.language }}
62+
build-mode: ${{ matrix.build-mode }}
63+
# If you wish to specify custom queries, you can do so here or in a config file.
64+
# By default, queries listed here will override any specified in a config file.
65+
# Prefix the list here with "+" to use these queries and those in the config file.
7766

78-
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
79-
# queries: security-extended,security-and-quality
67+
# For more details on CodeQL's query packs, refer to:
68+
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
69+
# queries: security-extended,security-and-quality
8070

81-
# If the analyze step fails for one of the languages you are analyzing with
82-
# "We were unable to automatically build your code", modify the matrix above
83-
# to set the build mode to "manual" for that language. Then modify this step
84-
# to build your code.
85-
# ℹ️ Command-line programs to run using the OS shell.
86-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
87-
- name: Run manual build steps
88-
if: matrix.build-mode == 'manual'
89-
shell: bash
90-
run: |
91-
echo 'If you are using a "manual" build mode for one or more of the' \
92-
'languages you are analyzing, replace this with the commands to build' \
93-
'your code, for example:'
94-
echo ' make bootstrap'
95-
echo ' make release'
96-
exit 1
71+
# If the analyze step fails for one of the languages you are analyzing with
72+
# "We were unable to automatically build your code", modify the matrix above
73+
# to set the build mode to "manual" for that language. Then modify this step
74+
# to build your code.
75+
# ℹ️ Command-line programs to run using the OS shell.
76+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
77+
- name: Run manual build steps
78+
if: matrix.build-mode == 'manual'
79+
shell: bash
80+
run: |
81+
echo 'If you are using a "manual" build mode for one or more of the' \
82+
'languages you are analyzing, replace this with the commands to build' \
83+
'your code, for example:'
84+
echo ' make bootstrap'
85+
echo ' make release'
86+
exit 1
9787
98-
- name: Perform CodeQL Analysis
99-
uses: github/codeql-action/analyze@v4
100-
with:
101-
category: "/language:${{matrix.language}}"
88+
- name: Perform CodeQL Analysis
89+
uses: github/codeql-action/analyze@v4
90+
with:
91+
category: "/language:${{matrix.language}}"

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)