mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
[CI] Only run build checks when a rust related file has changed (#102)
This commit is contained in:
parent
1c9f2dc0a8
commit
1a60a0496f
1 changed files with 10 additions and 0 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -4,8 +4,18 @@ name: CI
|
|||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
- "**.rs" # Any rust file
|
||||
- "Cargo.toml"
|
||||
- ".rustfmt.toml"
|
||||
- ".github/workflows/ci.yml" # This action
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
- "**.rs" # Any rust file
|
||||
- "Cargo.toml"
|
||||
- ".rustfmt.toml"
|
||||
- ".github/workflows/ci.yml" # This action
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue