Skip to content

Commit

Permalink
Merge pull request #31 from olback/v3.1.0
Browse files Browse the repository at this point in the history
V3.1.0
  • Loading branch information
olback authored Apr 7, 2024
2 parents 4803c73 + b2da086 commit d831cf8
Show file tree
Hide file tree
Showing 19 changed files with 1,438 additions and 1,000 deletions.
2 changes: 2 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[advisories]
ignore = ["RUSTSEC-2023-0003", "RUSTSEC-2024-0013"]
59 changes: 59 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
version: 2

jobs:
linux:
docker:
- image: olback/rust-linux-gtk

steps:
- checkout

- run:
name: Change Permissions for Cargo Cache
command: |
if [ -d "/usr/local/cargo" ]; then
sudo chown -R circleci:circleci /usr/local/cargo
fi
- restore_cache:
key: stable-cache-v1-{{ checksum "Cargo.toml" }}

- run:
name: Show Version
command: |
rustc --version --verbose
rustup --version
cargo --version --verbose
- run:
name: Run Outdated Check
command: cargo outdated

- run:
name: Run Audit Check
command: cargo audit

- run:
name: Run Clippy Check
command: cargo clippy

- run:
name: Run Fmt Check
command: cargo fmt --check

- run:
name: Run Build
command: cargo build --verbose

- save_cache:
key: stable-cache-v1-{{ checksum "Cargo.lock" }}
paths:
- "~/.cargo/"
- "~/.rustup/"
- "./target"
- "/usr/local/cargo"

workflows:
version: 2
check:
jobs:
- linux
Loading

0 comments on commit d831cf8

Please sign in to comment.