Skip to content

fix(deps): update rust crate serde_with to v3 #28

fix(deps): update rust crate serde_with to v3

fix(deps): update rust crate serde_with to v3 #28

Workflow file for this run

name: PR Checks
on:
pull_request:
branches: [ master ]
paths:
- 'rust-client/**'
env:
CARGO_TERM_COLOR: always
jobs:
toolchain:
name: ⚒️ Toolchain
runs-on: ubuntu-latest
steps:
- name: ⚒️ Toolchain Info
run: |
cargo --version --verbose
rustc --version
cargo clippy --version
clippy:
name: 📎 Clippy
needs: toolchain
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
- name: ⚡ Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target
key: ${{ runner.os }}-cargo-${{ hashFiles('rust-client/Cargo.lock') }}
- name: 📎 Clippy
run: |
cd rust-client
cargo clippy --
build:
name: 🔨 Build
needs: toolchain
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
- name: ⚡ Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target
key: ${{ runner.os }}-cargo-${{ hashFiles('rust-client/Cargo.lock') }}
- name: 🔨 Build
run: |
cd rust-client
cargo build
test:
name: 🧪 Test
needs: toolchain
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
- name: ⚡ Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target
key: ${{ runner.os }}-cargo-${{ hashFiles('rust-client/Cargo.lock') }}
- name: 🧪 Test
run: |
cd rust-client
cargo test --all