Skip to content

update nearcore version to 2.3.0 (#368) #1001

update nearcore version to 2.3.0 (#368)

update nearcore version to 2.3.0 (#368) #1001

Workflow file for this run

name: Rust Checks
on:
pull_request:
branches:
- main
- develop
push:
branches:
- main
- develop
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
- name: Cargo check
run: cargo check --all-features
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
components: rustfmt
- name: Cargo fmt check
run: cargo fmt --all --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
components: clippy
- name: Cargo clippy
run: cargo clippy --all -- -D warnings