Skip to content

Commit e764c53

Browse files
committed
Merge branch 'master' of ssh://github.com/38/plotters
2 parents 7b9c055 + ee4701f commit e764c53

File tree

3 files changed

+61
-7
lines changed

3 files changed

+61
-7
lines changed

.github/workflows/rust-clippy.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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: [ "master" ]
15+
pull_request:
16+
# The branches below must be a subset of the branches above
17+
branches: [ "master" ]
18+
schedule:
19+
- cron: '44 13 * * 2'
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+
steps:
29+
- name: Checkout code
30+
uses: actions/checkout@v2
31+
32+
- name: Install Rust toolchain
33+
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
34+
with:
35+
profile: minimal
36+
toolchain: stable
37+
components: clippy
38+
override: true
39+
40+
- name: Install required cargo
41+
run: cargo install clippy-sarif sarif-fmt
42+
43+
- name: Run rust-clippy
44+
run:
45+
cargo clippy
46+
--all-features
47+
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
48+
continue-on-error: true
49+
50+
- name: Upload analysis results to GitHub
51+
uses: github/codeql-action/upload-sarif@v1
52+
with:
53+
sarif_file: rust-clippy-results.sarif
54+
wait-for-processing: true

Cargo.lock

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

plotters/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ deprecated_items = [] # Keep some of the deprecated items for backward compatibi
106106
itertools = "0.10.0"
107107
criterion = "0.3.4"
108108
rayon = "1.5.1"
109-
serde_json = "1.0.64"
110-
serde = "1.0.126"
111-
serde_derive = "1.0.126"
109+
serde_json = "1.0.82"
110+
serde = "1.0.138"
111+
serde_derive = "1.0.138"
112112

113113
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
114114
rand = "0.8.3"

0 commit comments

Comments
 (0)