chore(application): use from_base64 methods from fleek-crypto to avoi… #261
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lints | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- '*.md' | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | |
jobs: | |
fmt: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cargo Format | |
run: cargo fmt --check | |
clippy: | |
name: Clippy | |
needs: fmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Rust Cache (custom) | |
uses: actions/cache@v3 | |
continue-on-error: false | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/registry/src/**/librocksdb-sys-* | |
~/.cargo/git/db/ | |
target/ | |
key: custom-rust-clippy-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: custom-rust-clippy- | |
- name: Cargo Clippy | |
run: cargo clippy --all-features --all-targets --timings -- -Dclippy::all -Dwarnings | |
- name: Upload Timings | |
uses: actions/upload-artifact@v3 | |
with: | |
path: target/cargo-timings/cargo-timing.html |