ci: fix hashing algorithm giving incorrect hash due to hashing the hash #39
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# - run: sudo apt-get update | |
# - run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: x86_64-pc-windows-msvc | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-all-crates: "true" | |
save-if: ${{ github.ref == 'refs/heads/main' }} | |
- name: Run clippy | |
run: cargo clippy --target x86_64-pc-windows-msvc --all-features -- -D warnings | |
# todo add rustfmt once Dioxus formatter is able to handle tabs | |
# - name: Run rustfmt | |
# run: cargo fmt -- --check |