ci: also include toml files
This commit is contained in:
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -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
|
||||
|
3
.github/workflows/lint.yaml
vendored
3
.github/workflows/lint.yaml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user