Skip to content

Bump actions/checkout from 2 to 4 #171

Bump actions/checkout from 2 to 4

Bump actions/checkout from 2 to 4 #171

Workflow file for this run

name: Rust
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: |
python -m pip install python_debian
- name: Build
run: cargo build --verbose
env:
RUSTFLAGS: -Dwarnings
- name: Install cargo-all-features
run: cargo install cargo-all-features
- name: Run tests
run: cargo test-all-features --verbose
env:
RUSTFLAGS: -Dwarnings
- name: Check formatting
run: cargo fmt -- --check