Skip to content

build(deps): update egui requirement from 0.23 to 0.24 #69

build(deps): update egui requirement from 0.23 to 0.24

build(deps): update egui requirement from 0.23 to 0.24 #69

Workflow file for this run

name: CI
on:
- push
- pull_request
- workflow_dispatch
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTFLAGS: '-C debuginfo=0'
jobs:
Check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Check formatting
run: cargo fmt --check
- name: Run Clippy
run: cargo clippy -- -D warnings
Test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run tests
run: cargo test
Publish:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
environment: crates.io
needs:
- Check
- Test
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install cargo-workspaces
run: cargo install cargo-workspaces
- name: Publish crates
run: cargo ws publish -y --from-git --token ${{ secrets.CARGO_REGISTRY_TOKEN }}