🐛 Refactoring actions
This commit is contained in:
1
.github/actions/setup-env/action.yml
vendored
1
.github/actions/setup-env/action.yml
vendored
@@ -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
|
||||
|
||||
9
.github/workflows/quality-and-test.yml
vendored
9
.github/workflows/quality-and-test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user