🐛 更新包依赖
This commit is contained in:
2
.github/workflows/pake_build.yaml
vendored
2
.github/workflows/pake_build.yaml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Build
|
||||
name: Build App
|
||||
on:
|
||||
push:
|
||||
# Sequence of patterns matched against refs/tags
|
||||
|
||||
29
.github/workflows/rust-code-quality-check.yml
vendored
29
.github/workflows/rust-code-quality-check.yml
vendored
@@ -40,13 +40,40 @@ jobs:
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
packages: libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
||||
packages: libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gdk-sys
|
||||
version: 1.0
|
||||
- name: Run unit & integration tests with nextest
|
||||
run: cargo hack --feature-powerset nextest run
|
||||
# - name: Run documentation tests with cargo test
|
||||
# run: cargo hack --feature-powerset test --doc
|
||||
|
||||
cargo-clippy:
|
||||
name: Check codebase quality (cargo clippy)
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- windows-latest
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
components: clippy
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
- name: Install dependencies for Ubuntu
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
packages: libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gdk-sys
|
||||
version: 1.0
|
||||
- name: Run all-features code quality checks
|
||||
run: cargo hack --feature-powerset --no-dev-deps clippy
|
||||
- name: Run normal code quality check
|
||||
run: cargo clippy
|
||||
|
||||
cargo-fmt:
|
||||
name: Enforce codebase style (cargo fmt)
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user