Skip to content

Commit f96b258

Browse files
committed
[update] branch to be caught up to main.
2 parents 7950021 + f08f445 commit f96b258

45 files changed

Lines changed: 3210 additions & 1899 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "cargo" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# rust-clippy is a tool that runs a bunch of lints to catch common
6+
# mistakes in your Rust code and help improve your Rust code.
7+
# More details at https://github.com/rust-lang/rust-clippy
8+
# and https://rust-lang.github.io/rust-clippy/
9+
10+
name: rust-clippy analyze
11+
12+
on:
13+
push:
14+
branches: [ "main" ]
15+
pull_request:
16+
# The branches below must be a subset of the branches above
17+
branches: [ "main" ]
18+
schedule:
19+
- cron: '41 10 * * 5'
20+
21+
jobs:
22+
rust-clippy-analyze:
23+
name: Run rust-clippy analyzing
24+
runs-on: ubuntu-latest
25+
permissions:
26+
contents: read
27+
security-events: write
28+
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
29+
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@v2
32+
33+
- name: Install Rust toolchain
34+
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
35+
with:
36+
profile: minimal
37+
toolchain: stable
38+
components: clippy
39+
override: true
40+
41+
- name: Install dependencies for converting clippy output to SARIF
42+
run: cargo install clippy-sarif sarif-fmt
43+
44+
- name: Run rust-clippy
45+
run:
46+
cargo clippy
47+
--all-features
48+
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
49+
continue-on-error: true
50+
51+
- name: Upload analysis results to GitHub
52+
uses: github/codeql-action/upload-sarif@v1
53+
with:
54+
sarif_file: rust-clippy-results.sarif
55+
wait-for-processing: true

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"vim.autoindent": false,
1010
"editor.tabSize": 2,
1111
"editor.detectIndentation": false,
12-
"rust-analyzer.inlayHints.typeHints": false,
13-
"rust-analyzer.inlayHints.chainingHints": false
12+
"rust-analyzer.inlayHints.chainingHints.enable": false,
13+
"rust-analyzer.inlayHints.typeHints.enable": false
1414
}

0 commit comments

Comments
 (0)