Skip to content

ci: publish correct version automatically #23

ci: publish correct version automatically

ci: publish correct version automatically #23

Workflow file for this run

name: Quality
on:
push:
branches:
- main
- chore/**
- fix/**
- feat/**
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update local toolchain
run: |
rustup update
rustup component add clippy
rustup component add rustfmt
rustup install nightly
- name: Toolchain info
run: |
cargo --version
rustc --version
cargo clippy --version
cargo fmt --version
- name: Lint
run: |
cd src
cargo +nightly fmt -- --check
cargo +nightly clippy -- -D warnings
- name: Test
run: |
cargo +nightly check
cargo +nightly test --all
- name: Build
run: |
cargo +nightly build --release