ci: also include toml files

This commit is contained in:
Ryan 2025-03-12 18:30:52 -04:00
parent b794cda10b
commit f9884227ef
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@ on:
push:
paths:
- "**.rs"
- "**.toml"
- "Cargo.*"
pull_request:
workflow_dispatch:
@ -32,7 +33,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: build-${{ matrix.os }}-${{ hashFiles('Cargo.*') }}
key: build-${{ matrix.os }}-${{ hashFiles('**.toml', 'Cargo.*') }}
- name: Switch to nightly toolchain
run: rustup default nightly

View File

@ -3,6 +3,7 @@ on:
push:
paths:
- "**.rs"
- "**.toml"
- "Cargo.*"
pull_request:
workflow_dispatch:
@ -46,7 +47,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: build-${{ runner.os }}-${{ hashFiles('Cargo.*') }}
key: build-${{ matrix.os }}-${{ hashFiles('**.toml', 'Cargo.*') }}
- name: Switch to nightly toolchain
run: rustup default nightly