fix(truncate): truncate will grow blocksize when extending #449
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
jobs: | |
check: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
rust: [stable] | |
steps: | |
- uses: hecrj/setup-rust-action@master | |
with: | |
rust-version: ${{ matrix.rust }} | |
- uses: actions/checkout@master | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev | |
sudo apt install uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev | |
sudo apt install linux-headers-generic python3 python3-dev python3-setuptools python3-cffi | |
sudo apt install libffi-dev python3-packaging git libcurl4-openssl-dev libtirpc-dev | |
- name: Install rustfmt | |
run: rustup component add rustfmt | |
- uses: Swatinem/rust-cache@v1 | |
- run: cargo fmt --all -- --check | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features | |
- name: Check all targets | |
run: make | |
- name: Run tests | |
run: make test |