Update windows requirement from 0.61 to 0.62 #15
This file contains hidden or 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: Checks | |
| on: [ pull_request, push, workflow_dispatch ] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Code formatting. | |
| fmt: | |
| name: cargo-fmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: cargo fmt --all -- --check | |
| # Static analyzer. | |
| clippy: | |
| name: cargo-clippy (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: awalsh128/cache-apt-pkgs-action@latest | |
| if: matrix.os == 'ubuntu-latest' | |
| with: | |
| packages: libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf llvm-dev clang cmake grcov | |
| version: "1.0" # bump this to invalidate the cache when needed | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: cargo clippy --all-targets --all-features -- -D warnings -D clippy::unwrap_used -D clippy::pedantic | |
| # Check links in the documentation. | |
| deadlinks: | |
| name: cargo-deadlinks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf llvm-dev clang cmake grcov | |
| version: "1.0" # bump this to invalidate the cache when needed | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: cargo install cargo-deadlinks | |
| - run: cargo doc --no-deps -p tauri-plugin-webdriver | |
| - run: cargo deadlinks --no-build | |
| # Check links in markdown files. | |
| mlc: | |
| name: mlc | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: becheran/mlc@v1 | |
| # Spellcheck. | |
| spellcheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: streetsidesoftware/cspell-action@v8 | |
| with: | |
| files: "**/*.{rs,md}" | |
| # cargo-deny. | |
| deny: | |
| name: cargo-deny | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: EmbarkStudios/cargo-deny-action@v2 | |
| # cargo-semver. | |
| semver: | |
| name: cargo-semver | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf llvm-dev clang cmake grcov | |
| version: "1.0" # bump this to invalidate the cache when needed | |
| - uses: actions/checkout@v6 | |
| - uses: obi1kenobi/cargo-semver-checks-action@v2 | |