Skip to content

chore(deps): bump whoami from 1.6.1 to 2.1.2 #80

chore(deps): bump whoami from 1.6.1 to 2.1.2

chore(deps): bump whoami from 1.6.1 to 2.1.2 #80

Workflow file for this run

name: Build
on:
push:
branches: [ main, master, develop ]
pull_request:
branches: [ main, master, develop ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta]
steps:
- uses: actions/checkout@v7
- name: Install Rust ${{ matrix.rust }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Cache cargo registry
uses: actions/cache@v6
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v6
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v6
with:
path: target
key: ${{ runner.os }}-${{ matrix.rust }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Build debug
run: cargo build --verbose
- name: Build release
run: cargo build --release --verbose