chore(deps): bump webpki from 0.22.0 to 0.22.2 #72
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
name: Test | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout 🛎️ | |
- uses: dtolnay/rust-toolchain@stable | |
name: Setup Cargo Toolchain 🛎️ | |
with: | |
components: rustfmt, clippy | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libwebkit2gtk-4.0-dev \ | |
build-essential \ | |
curl \ | |
wget \ | |
libgtk-3-dev \ | |
libayatana-appindicator3-dev \ | |
librsvg2-dev | |
- uses: Swatinem/rust-cache@v2 | |
- name: Check Code Format 🔧 | |
run: cargo fmt -- --check | |
- name: Run Clippy Lints 🔨 | |
run: mkdir dist && cargo clippy --all-targets --all-features --tests | |
test_core: | |
name: Test (core) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout 🛎️ | |
- name: Setup Cargo Toolchain 🛎️ | |
uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Running Tests 🚀 | |
run: cargo test --package sa_core | |
test_cli: | |
name: Test (cli) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout 🛎️ | |
- name: Setup Cargo Toolchain 🛎️ | |
uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Running Tests 🚀 | |
run: cargo test --package shuiyuan-archiver-cli |