Skip to content

lib: Support cap-std-ext 4 #181

lib: Support cap-std-ext 4

lib: Support cap-std-ext 4 #181

Workflow file for this run

name: CI
permissions:
actions: read
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_NET_RETRY: 10
CARGO_TERM_COLOR: always
CI: 1
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: short
jobs:
build-test:
name: Build+Test
runs-on: ubuntu-latest
container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 20
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
- name: cargo fmt (check)
run: cargo fmt -- --check -l
- name: Compile (no features)
run: cargo test --no-run
- name: Compile (all features)
run: cargo test --no-run --all-features
- name: Test
run: cargo test --all-features -- --nocapture --quiet
- name: cargo clippy (non-gating)
run: cargo clippy
- name: Checkout ostree-rs-ext
uses: actions/checkout@v3
with:
repository: ostreedev/ostree-rs-ext
path: ostree-rs-ext
fetch-depth: 20
- name: Test ostree-rs-ext
run: ./ci/test-ostree-rs-ext.sh