Restrict when to rerun build task
This commit is contained in:
parent
55d526b660
commit
85429ce59c
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -1,7 +1,14 @@
|
||||
on: [push, pull_request]
|
||||
|
||||
name: Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
paths:
|
||||
- '.github/workflows/build.yml'
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
- '**/src/*'
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
name: Rust project
|
||||
|
Loading…
x
Reference in New Issue
Block a user