Skip to content

add MIT License

add MIT License #10

Workflow file for this run

name: Cargo Build & Test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose --bin unchained
- run: cargo test --verbose --bin unchained
- run: cargo build --verbose --bin eportfolio
- run: cargo test --verbose --bin eportfolio
lint:
name: Check with clippy and fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo fmt --check --all
- run: cargo clippy --all-targets