Bump version to 0.6.2 (#76) #28
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: Examples | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'arbi/**' | |
- 'examples/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'arbi/**' | |
- 'examples/**' | |
workflow_dispatch: | |
jobs: | |
examples: | |
name: Test Examples | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
rustup update stable && rustup override set stable | |
rustup toolchain install nightly | |
rustup component add rustfmt --toolchain nightly | |
- shell: bash | |
run: | | |
set -e | |
for example in examples/*/; do | |
echo "Processing $example" | |
cd $example | |
cargo clippy -- -D warnings | |
cargo +nightly fmt -- --check | |
cargo check --verbose | |
cargo build --verbose | |
cargo run --verbose | |
cd ../.. | |
done |