Skip to content

chore: add release system #17

chore: add release system

chore: add release system #17

Workflow file for this run

name: CI
on:
- pull_request
- push
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build
run: |
cargo build --verbose;
test:
name: Unit Tests
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Run tests
run: |
cargo test --tests --verbose
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting - rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Check good practice - clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -Dwarnings