Skip to content

Commit

Permalink
Merge pull request #8 from kpcyrd/clippy
Browse files Browse the repository at this point in the history
Fix clippy warnings
  • Loading branch information
kpcyrd authored Nov 4, 2021
2 parents 5cbd0e7 + c2ba126 commit 609657f
Show file tree
Hide file tree
Showing 6 changed files with 391 additions and 486 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: [kpcyrd]
patreon: kpcyrd
16 changes: 14 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install libpango1.0-dev libatk1.0-dev libgtk-3-dev libappindicator3-dev
run: sudo apt-get install libpango1.0-dev libatk1.0-dev libgtk-3-dev libappindicator3-dev meson libarchive-dev
- name: Clone pacman.git
run: git clone --depth=1 https://gitlab.archlinux.org/pacman/pacman.git
- name: Prepare libalpm compile
run: meson pacman/build/ pacman/
- name: Install libalpm
run: sudo ninja -C pacman/build/ install
- name: Build
run: cargo build --verbose
- name: Run tests
Expand All @@ -31,7 +37,13 @@ jobs:
override: true
components: clippy
- name: Install dependencies
run: sudo apt-get install libpango1.0-dev libatk1.0-dev libgtk-3-dev libappindicator3-dev
run: sudo apt-get install libpango1.0-dev libatk1.0-dev libgtk-3-dev libappindicator3-dev meson libarchive-dev
- name: Clone pacman.git
run: git clone --depth=1 https://gitlab.archlinux.org/pacman/pacman.git
- name: Prepare libalpm compile
run: meson pacman/build/ pacman/
- name: Install libalpm
run: sudo ninja -C pacman/build/ install
- uses: actions-rs/cargo@v1
with:
command: clippy
Expand Down
Loading

0 comments on commit 609657f

Please sign in to comment.