chore: change default tls to rustls #5
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: clippy | |
on: | |
push: | |
paths: | |
- "**.rs" | |
- "**.toml" | |
- "**.yaml" | |
- "**.yml" | |
pull_request: | |
paths: | |
- "**.rs" | |
- "**.toml" | |
- "**.yaml" | |
- "**.yml" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
clippy-app: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
profile: minimal | |
- name: Check clippy | |
run: cargo clippy --package cassette --target wasm32-unknown-unknown --features 'full,experimental' --verbose -- -D warnings | |
clippy-server: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
profile: minimal | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install -y \ | |
cmake \ | |
libhwloc-dev \ | |
&& sudo apt-get clean all \ | |
&& sudo rm -rf /var/lib/apt/lists/* | |
- name: Check clippy | |
run: cargo clippy --package cassette-gateway --package cassette-operator --features 'full,experimental' --verbose -- -D warnings |