build(deps): bump the all group across 1 directory with 7 updates #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: filenamegen | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install Rust" | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: "stable" | |
components: "rustfmt" | |
- name: "Cache cargo registry" | |
uses: actions/cache@v4 | |
with: | |
path: "~/.cargo/registry" | |
key: "filenamegen-${{ matrix.os }}-${{ hashFiles('Cargo.toml') }}-cargo-registry" | |
- name: "Cache cargo index" | |
uses: actions/cache@v4 | |
with: | |
path: "~/.cargo/git" | |
key: "filenamegen-${{ matrix.os }}-${{ hashFiles('Cargo.toml') }}-cargo-index" | |
- name: "Cache cargo build" | |
uses: actions/cache@v4 | |
with: | |
path: "target" | |
key: "filenamegen-${{ matrix.os }}-${{ hashFiles('Cargo.toml') }}-cargo-build-target" | |
- name: Test | |
run: cargo test -p filenamegen | |
- name: Build | |
run: cargo build -p filenamegen --release | |