Skip to content

Commit d831cf8

Browse files
authored
Merge pull request #31 from olback/v3.1.0
V3.1.0
2 parents 4803c73 + b2da086 commit d831cf8

File tree

19 files changed

+1438
-1000
lines changed

19 files changed

+1438
-1000
lines changed

.cargo/audit.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[advisories]
2+
ignore = ["RUSTSEC-2023-0003", "RUSTSEC-2024-0013"]

.circleci/config.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
version: 2
2+
3+
jobs:
4+
linux:
5+
docker:
6+
- image: olback/rust-linux-gtk
7+
8+
steps:
9+
- checkout
10+
11+
- run:
12+
name: Change Permissions for Cargo Cache
13+
command: |
14+
if [ -d "/usr/local/cargo" ]; then
15+
sudo chown -R circleci:circleci /usr/local/cargo
16+
fi
17+
- restore_cache:
18+
key: stable-cache-v1-{{ checksum "Cargo.toml" }}
19+
20+
- run:
21+
name: Show Version
22+
command: |
23+
rustc --version --verbose
24+
rustup --version
25+
cargo --version --verbose
26+
27+
- run:
28+
name: Run Outdated Check
29+
command: cargo outdated
30+
31+
- run:
32+
name: Run Audit Check
33+
command: cargo audit
34+
35+
- run:
36+
name: Run Clippy Check
37+
command: cargo clippy
38+
39+
- run:
40+
name: Run Fmt Check
41+
command: cargo fmt --check
42+
43+
- run:
44+
name: Run Build
45+
command: cargo build --verbose
46+
47+
- save_cache:
48+
key: stable-cache-v1-{{ checksum "Cargo.lock" }}
49+
paths:
50+
- "~/.cargo/"
51+
- "~/.rustup/"
52+
- "./target"
53+
- "/usr/local/cargo"
54+
55+
workflows:
56+
version: 2
57+
check:
58+
jobs:
59+
- linux

0 commit comments

Comments
 (0)