diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c4e2e4b..d5bab56 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. run: | sudo apt-get update - sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libsoup-3.0-dev + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf # webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2. # You can remove the one that doesn't apply to your app to speed up the workflow a bit. diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 913b352..cafe94f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,40 +2,36 @@ name: Rust on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] env: CARGO_TERM_COLOR: always jobs: test: - runs-on: ubuntu-latest steps: - - name: install just - uses: extractions/setup-just@v1 - - - name: setup - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev librsvg2-dev glibc-source libc6 + - name: install just + uses: extractions/setup-just@v1 - - name: Rust setup - uses: dtolnay/rust-toolchain@nightly - with: - components: rustfmt, clippy + - name: setup + run: | + sudo apt-get update + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev librsvg2-dev glibc-source libc6 - - name: Install leptosfmt - run: cargo install leptosfmt + - name: Rust setup + uses: dtolnay/rust-toolchain@nightly + with: + components: rustfmt, clippy - - name: Checkout source code - uses: actions/checkout@v3 + - name: Checkout source code + uses: actions/checkout@v3 - - name: Runs tests - run: just test + - name: Runs tests + run: just test - - name: Run lints - run: just test + - name: Run lints + run: just test