Bump @sveltejs/vite-plugin-svelte from 1.4.0 to 3.1.1 in /src/tauri #1627
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: Rust testing | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "src/modlunky2/**" | |
- "src/tests/**" | |
- "requirements*.txt" | |
jobs: | |
build: | |
name: "Rust ${{matrix.rust}}" | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
# Test stable and MSRV | |
rust: [stable, "1.70"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{matrix.rust}} | |
components: clippy rustfmt | |
- name: cargo fmt | |
run: cargo fmt --all --check | |
- name: cargo check | |
run: cargo check --workspace --all-targets --exclude launcher --locked | |
- name: cargo clippy | |
run: cargo clippy --workspace --all-targets --exclude launcher --locked -- -D warnings | |
- name: cargo test | |
run: cargo test --workspace --all-targets --exclude launcher --locked | |
# cargo deny only works on Linux due to using a container | |
deny: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cargo deny check | |
uses: EmbarkStudios/cargo-deny-action@v1 |