Skip to content

feat: pop unneeded exprret from require #164

feat: pop unneeded exprret from require

feat: pop unneeded exprret from require #164

Workflow file for this run

name: Rust
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Install Rust toolchain
- name: Install Rust toolchain
run: rustup toolchain install nightly
# Install rustfmt component for nightly toolchain
- name: Install rustfmt for nightly
run: rustup component add --toolchain nightly rustfmt
# Lint with fmt using nightly toolchain
- name: Lint with fmt
run: cargo +nightly fmt --all --check
# Run tests
- name: Run tests
run: cargo test --all