Skip to content

refactor: return dr_id in response.data in post_data_request() #227

refactor: return dr_id in response.data in post_data_request()

refactor: return dr_id in response.data in post_data_request() #227

Workflow file for this run

# Based on https://github.com/actions-rs/example/blob/master/.github/workflows/quickstart.yml
on: [push, pull_request]
name: Basic
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.65.0
target: wasm32-unknown-unknown
override: true
- name: Run unit tests
run: cargo test --locked
env:
RUST_BACKTRACE: 1
- name: Compile WASM contract
run: cargo wasm --locked
env:
RUSTFLAGS: "-C link-arg=-s"
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.65.0
override: true
components: rustfmt, clippy
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy -- -D warnings
- name: Generate Schema
run: cargo schema --locked --package proxy-contract
- name: Schema Changes
# fails if any changes not committed
run: git diff --exit-code schema