🐛 Refactoring actions

This commit is contained in:
Tw93
2025-08-29 18:09:50 +08:00
parent 426ca447dd
commit 9cb5db8bd3
2 changed files with 5 additions and 5 deletions

View File

@@ -107,6 +107,7 @@ runs:
libdbus-1-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev 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 build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev
libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra
libglib2.0-dev pkg-config
version: 1.1 version: 1.1
- name: Install WIX Toolset - name: Install WIX Toolset

View File

@@ -23,7 +23,7 @@ jobs:
auto-format: auto-format:
name: Auto-fix Formatting name: Auto-fix Formatting
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main' && github.event_name == 'push' if: github.event_name == 'push'
permissions: permissions:
contents: write contents: write
steps: steps:
@@ -93,7 +93,7 @@ jobs:
- name: Setup Rust Environment - name: Setup Rust Environment
uses: ./.github/actions/setup-env uses: ./.github/actions/setup-env
with: with:
mode: rust-only mode: build
- name: Install Rust components - name: Install Rust components
shell: bash shell: bash
@@ -102,9 +102,8 @@ jobs:
- uses: rui314/setup-mold@v1 - uses: rui314/setup-mold@v1
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
- uses: taiki-e/install-action@v1 # cspell:disable-line - name: Install cargo-hack
with: run: cargo install cargo-hack
tool: cargo-hack
- name: Check Rust formatting - name: Check Rust formatting
run: cargo fmt --all -- --color=always --check run: cargo fmt --all -- --color=always --check