Skip to content

ci: 🎡 use a personal token to create release note and push #28

ci: 🎡 use a personal token to create release note and push

ci: 🎡 use a personal token to create release note and push #28

Workflow file for this run

name: CI
on:
merge_group:
pull_request:
push:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
format_and_clippy:
name: Rust project - latest
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: format style check
run: cargo fmt --all -- --check
- name: cargo clippy check
run: cargo clippy --all-targets --all-features -- -D warnings
- name: cargo check
run: cargo check
build_and_test:
needs: format_and_clippy
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- run: cargo test --all-features