Skip to content

Bump erased-serde from 0.4.9 to 0.4.10 #145

Bump erased-serde from 0.4.9 to 0.4.10

Bump erased-serde from 0.4.9 to 0.4.10 #145

Workflow file for this run

name: Rust CI
on:
push:
branches: [ "main", "dev"]
pull_request:
branches: [ "main", "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@nightly
- name: Cache Cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install rust-fmt
run : rustup component add rustfmt
- name: Check formatting
run: cargo fmt --all -- --check
- name: Build release
run: cargo build --release --verbose
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: ToyMine-${{ runner.os }}
path: |
target/release/ToyMine${{ runner.os == 'Windows' && '.exe' || '' }}