chore: release v0.1.3 #2
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 for Cargo Vendor Home Registry | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: opensuse/tumbleweed:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies and Rust | |
run: | | |
zypper --non-interactive in libzstd-devel cargo clang | |
- name: Build | |
run: | | |
export CC=clang | |
cargo update | |
cargo build --release --all-features | |
- name: Check formatting | |
run: | | |
export CC=clang | |
cargo fmt -- --check || true | |
- name: Check clippy | |
run: | | |
export CC=clang | |
cargo clippy | |
cargo clippy --tests | |
- name: Tests | |
run: | | |
export CC=clang | |
cargo test |