Skip to content

build(deps): bump serde from 1.0.208 to 1.0.215 #216

build(deps): bump serde from 1.0.208 to 1.0.215

build(deps): bump serde from 1.0.208 to 1.0.215 #216

Workflow file for this run

---
name: build, clippy & fmt
on:
push:
branches:
- main
- release/*
pull_request: {}
jobs:
cache:
runs-on: ubuntu-latest
name: cache
steps:
- uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Toolchain info
run: |
cargo --version --verbose
rustc --version
cargo clippy --version
fmt:
runs-on: ubuntu-latest
name: fmt
needs: cache
steps:
- uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: fmt
run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
name: clippy
needs: cache
steps:
- uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: clippy
run: cargo clippy -- -D warnings
build:
runs-on: ubuntu-latest
name: build
needs: cache
steps:
- uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: build
run: cargo check --workspace --release --all-features