Skip to content

added serde feature flag to enable serde support for Iban type #56

added serde feature flag to enable serde support for Iban type

added serde feature flag to enable serde support for Iban type #56

Workflow file for this run

permissions:
contents: read
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: test
jobs:
required:
runs-on: ubuntu-latest
name: required / ${{ matrix.toolchain }}
strategy:
matrix:
toolchain: [stable, beta]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- run: cargo test --locked --all-features --all-targets
- run: cargo test --locked --all-features --doc
minimal:
runs-on: ubuntu-latest
name: minimal-versions / stable
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@nightly
- run: rustup default stable
- run: cargo +nightly update -Zdirect-minimal-versions
- run: cargo test --locked --all-features --all-targets
os-check:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / stable
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- run: cargo test --locked --all-features --all-targets
coverage:
runs-on: ubuntu-latest
name: coverage / stable
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
- uses: dtolnay/rust-toolchain@nightly
with:
profile: minimal
- uses: taiki-e/install-action@cargo-llvm-cov
- run: cargo llvm-cov --all-features --workspace --codecov --output-path codecov.json
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: codecov.json
fail_ci_if_error: true