mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-10 04:22:13 +10:00
* feat: add clippy ci * fix: clippy errors * fix: ci/cd * fix: update ci packages * fix: add gtk3 to ci deps * fix: add webkit to ci deps * fix: ci deps and perms * fix: add clippy settings to lib.rs
23 lines
632 B
YAML
23 lines
632 B
YAML
on: push
|
|
name: Clippy check
|
|
jobs:
|
|
clippy_check:
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
checks: write
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: install dependencies (ubuntu only)
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libglib2.0-dev libgtk-3-dev libwebkit2gtk-4.1-dev
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: nightly
|
|
components: clippy
|
|
override: true
|
|
- uses: actions-rs/clippy-check@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
args: --manifest-path ./src-tauri/Cargo.toml |