Skip to content

remove rust-apt dependency and un-comment the apt backend (#1) #3

remove rust-apt dependency and un-comment the apt backend (#1)

remove rust-apt dependency and un-comment the apt backend (#1) #3

Workflow file for this run

name: check
on:
workflow_dispatch:
push:
branches:
- 'main'
- 'devel'
paths:
- 'crates/**.rs'
- 'crates/**/Cargo.toml'
- 'Cargo.*'
- "clippy.toml"
pull_request:
branches:
- 'main'
- 'devel'
paths:
- 'crates/**.rs'
- 'crates/**/Cargo.toml'
- 'Cargo.*'
- "clippy.toml"
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
container:
image: archlinux
steps:
- name: Install Packages
run: pacman -Syu git rust clang gcc libarchive pkgconf apt --noconfirm --needed
- name: Checkout
uses: actions/checkout@v3
- name: Format
if: '!cancelled()'
run: cargo fmt -- --check
- name: Build
if: '!cancelled()'
run: cargo build --locked --features arch,debian
- name: Clippy
if: '!cancelled()'
run: cargo clippy --features arch,debian -- -Dwarnings
- name: Test
if: '!cancelled()'
run: cargo test --workspace --features arch,debian