mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 19:14:20 +00:00
31 lines
570 B
YAML
31 lines
570 B
YAML
|
name: "Test suite"
|
||
|
|
||
|
on:
|
||
|
# Modification of a project file in the main branch
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
paths:
|
||
|
- "src/**"
|
||
|
- "Cargo.toml"
|
||
|
- "Cargo.lock"
|
||
|
- "diesel.toml"
|
||
|
# Pull request to the main branch modifying a project file
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
paths:
|
||
|
- "src/**"
|
||
|
- "Cargo.toml"
|
||
|
- "Cargo.lock"
|
||
|
- "diesel.toml"
|
||
|
# Triggered by a new release
|
||
|
workflow_call:
|
||
|
|
||
|
env:
|
||
|
CARGO_TERM_COLOR: always
|
||
|
|
||
|
jobs:
|
||
|
check:
|
||
|
uses: Steffo99/.github/.github/workflows/test-cargo-clippy.yml@main
|