Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

:bug: Refactoring actions

Tw939cb5db8bd34d
diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml
index e924aed5..ca1ac7ef 100644
--- a/.github/actions/setup-env/action.yml
+++ b/.github/actions/setup-env/action.yml
@@ -107,6 +107,7 @@ runs:
libdbus-1-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev
libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra
+ libglib2.0-dev pkg-config
version: 1.1
- name: Install WIX Toolset
diff --git a/.github/workflows/quality-and-test.yml b/.github/workflows/quality-and-test.yml
index 215ae208..7694451b 100644
--- a/.github/workflows/quality-and-test.yml
+++ b/.github/workflows/quality-and-test.yml
@@ -23,7 +23,7 @@ jobs:
auto-format:
name: Auto-fix Formatting
runs-on: ubuntu-latest
- if: github.ref != 'refs/heads/main' && github.event_name == 'push'
+ if: github.event_name == 'push'
permissions:
contents: write
steps:
@@ -93,7 +93,7 @@ jobs:
- name: Setup Rust Environment
uses: ./.github/actions/setup-env
with:
- mode: rust-only
+ mode: build
- name: Install Rust components
shell: bash
@@ -102,9 +102,8 @@ jobs:
- uses: rui314/setup-mold@v1
if: matrix.os == 'ubuntu-latest'
- - uses: taiki-e/install-action@v1 # cspell:disable-line
- with:
- tool: cargo-hack
+ - name: Install cargo-hack
+ run: cargo install cargo-hack
- name: Check Rust formatting
run: cargo fmt --all -- --color=always --check