Skip to content

Update arch-audit dependency #42

Update arch-audit dependency

Update arch-audit dependency #42

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
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
run: cargo test --verbose
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- name: Install dependencies
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
args: --workspace --tests -- --deny warnings