Skip to content

Allow mod bar; in foo.rs refer to foo/bar/mod.rs #24

Allow mod bar; in foo.rs refer to foo/bar/mod.rs

Allow mod bar; in foo.rs refer to foo/bar/mod.rs #24

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
strategy:
matrix:
rust:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run tests (release)
run: cargo test --release --verbose