Skip to content

chore: update toolchain #4

chore: update toolchain

chore: update toolchain #4

on:
pull_request:
paths:
- rust/apps/near/**
name: NEAR Checks
jobs:
UnitTest:
name: Unit Test And Code coverage
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
override: true
components: rustfmt
target: x86_64-apple-darwin
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Run rust/apps/near
run: cd rust/apps/near && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50