Skip to content

refactor: Upgraded NEAR crates to 0.20.0 release #4

refactor: Upgraded NEAR crates to 0.20.0 release

refactor: Upgraded NEAR crates to 0.20.0 release #4

Workflow file for this run

name: Code Style
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
codestyle:
name: Code Style (fmt + clippy)
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: rustfmt
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check lints (cargo clippy)
run: cargo clippy -- -D warnings