Skip to content

Bring basic integration tests #4

Bring basic integration tests

Bring basic integration tests #4

Workflow file for this run

name: Pull Request Test
on:
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check Formatting
run: cargo fmt --check
- name: Run cargo clippy
run: |
rustup component add clippy
cargo clippy --all-features --workspace --tests -- --warn clippy::all --warn clippy::nursery
- name: Install cargo-near CLI
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v0.6.4/cargo-near-installer.sh | sh
- name: Build release version of contract
run: cargo near build --no-abi --no-docker
- name: Run cargo test
run: cargo test