Skip to content

⬆️ Bump cargo-dist version 0.13.1 to 0.13.2 #187

⬆️ Bump cargo-dist version 0.13.1 to 0.13.2

⬆️ Bump cargo-dist version 0.13.1 to 0.13.2 #187

Workflow file for this run

name: test
on:
pull_request:
push:
jobs:
rust_doc_test:
strategy:
matrix:
os:
- ubuntu-latest
- freebsd-latest # self-hosted
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-rust
- name: Install dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y fuse3 libfuse3-dev
- name: Install dependencies
if: startsWith(matrix.os, 'freebsd')
run: |
sudo pkg install -y pkgconf fusefs-libs3
- uses: actions/cache@v4
with:
path: target
key: ${{ matrix.os }}-rust-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
- name: Run test
run: cargo test --locked --release
env:
RUST_BACKTRACE: 1
- name: Install cli
run: |
cargo install -f portable-network-archive
cargo install --locked --path .
- name: Run test cli
shell: bash
run: |
chmod +x scripts/tests/run.sh
./scripts/tests/run.sh