Skip to content

fix(farm_manager): add prefix to position identifiers to avoid id collision #75

fix(farm_manager): add prefix to position identifiers to avoid id collision

fix(farm_manager): add prefix to position identifiers to avoid id collision #75

Workflow file for this run

name: Tests and Lints
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
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.80.0
target: wasm32-unknown-unknown
override: true
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
version: "0.15.0"
args: '--locked -- --test-threads 4'
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.80.0
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Generate Schema
uses: actions-rs/cargo@v1
with:
command: schema
args: --locked
- name: Schema Changes
# fails if any changes not committed
run: git diff --exit-code schema