iapiab 0.1.0

iapiab verifies the purchase receipt via AppStore or GooglePlayStore.
Documentation
name: CI

on: [push]

jobs:
  test:
    name: unit- test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          components: rustfmt, clippy
      - uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: --all -- --check
      - uses: actions-rs/cargo@v1
        with:
          command: clippy
      - uses: actions-rs/cargo@v1
        with:
          command: test
          args: --release --all-features
        env:
          IAP_TEST_JSONKEY:  ${{ secrets.IAP_TEST_JSONKEY }}
          IAP_TEST_IOS_RECEIPT:  ${{ secrets.IAP_TEST_IOS_RECEIPT }}
          IAP_TEST_ANDROID_TOKEN:  ${{ secrets.IAP_TEST_ANDROID_TOKEN }}