Set default extrude distance expression to something more sensible, like 5
#4695
Workflow file for this run
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: | |
- main | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
- '**/rust-toolchain.toml' | |
- '**.rs' | |
- .github/workflows/cargo-clippy.yml | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
name: cargo clippy | |
jobs: | |
cargoclippy: | |
name: cargo clippy | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dir: ['src/wasm-lib', 'src-tauri'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install latest rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: clippy | |
- name: install dependencies | |
if: matrix.dir == 'src-tauri' | |
shell: bash | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
libgtk-3-dev \ | |
libayatana-appindicator3-dev \ | |
webkit2gtk-driver \ | |
libsoup-3.0-dev \ | |
libjavascriptcoregtk-4.1-dev \ | |
libwebkit2gtk-4.1-dev \ | |
at-spi2-core \ | |
xvfb | |
yarn install | |
yarn build:wasm | |
yarn build:local | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- name: Run clippy | |
run: | | |
cd "${{ matrix.dir }}" | |
cargo clippy --all --tests --benches -- -D warnings |