Skip to content

deps(deps): bump chrono from 0.4.40 to 0.4.41 #107

deps(deps): bump chrono from 0.4.40 to 0.4.41

deps(deps): bump chrono from 0.4.40 to 0.4.41 #107

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- "**.md"
- "LICENSE"
- ".gitignore"
pull_request:
branches: [main]
paths-ignore:
- "**.md"
- "LICENSE"
- ".gitignore"
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Setup Rust
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -D warnings
test:
name: Test
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Setup Rust
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test
- name: Run tests with all features
run: cargo test --all-features
build:
name: Build
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Setup Rust
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --release
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: mikan-linux-x86_64
path: target/release/mikan