3.0.3: Add methods to convert ASCII case in place #43
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: Rust | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- '.gitignore' | |
branches: | |
- 'master' | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- '.gitignore' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Rust Unix | |
if: runner.os != 'Windows' | |
run: | | |
if rustup --version >/dev/null 2>&1; then | |
rustup update | |
else | |
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain stable | |
echo ::add-path::$HOME/.cargo/bin | |
fi | |
- name: Rust version | |
run: | | |
cargo --version | |
rustc --version | |
- name: Lints | |
run: cargo clippy --features serde,ufmt-write | |
- name: Test | |
run: cargo test --features serde,ufmt-write | |
run-miri: | |
name: Run Miri | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: nightly | |
components: miri | |
- run: cargo miri test | |
env: | |
MIRIFLAGS: "-Zmiri-strict-provenance" |