Skip to content

Add support for setting RPMTAG_FILECAPS header #578

Add support for setting RPMTAG_FILECAPS header

Add support for setting RPMTAG_FILECAPS header #578

Workflow file for this run

on:
push:
tags:
# Full version
- "[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+"
# Prerelease version
- "[0-9]+.[0-9]+.[0-9]+-*"
- "v[0-9]+.[0-9]+.[0-9]+-*"
pull_request:
branches:
# Trigger on pull requests into main/master
- main
- master
types: [ opened, synchronize ]
name: Continuous integration
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
cancel-in-progress: true
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo check
test:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.65.0
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test
test-feature-matrix:
name: Test Suite (feature-matrix)
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.65.0
flags:
- "--all-features"
- "--no-default-features"
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy
- run: cargo clippy ${{ matrix.flags }} -- -D warnings
- run: cargo test ${{ matrix.flags }}
compat-tests:
name: Compatibility Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --features test-with-podman
fmt:
name: Rustfmt
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy
- run: cargo clippy -- -D warnings
tarpaulin:
name: Tarpaulin
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy
- run: cargo install cargo-tarpaulin
- run: cargo tarpaulin --out xml