🐛 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
|
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
|
||||||
|
|||||||
9
.github/workflows/quality-and-test.yml
vendored
9
.github/workflows/quality-and-test.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user