Skip to content

update ci (#56)

update ci (#56) #44

Workflow file for this run

name: Cargo Build & Test
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: cls project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo clippy
- run: cargo fmt -- --check
- run: cargo build --verbose
- run: cargo test --verbose