Also run checks on pull requests
This commit is contained in:
22
.github/workflows/cargo_check.yml
vendored
22
.github/workflows/cargo_check.yml
vendored
@@ -1,14 +1,16 @@
|
|||||||
name: Cargo check
|
name: Cargo check
|
||||||
on: [push]
|
on:
|
||||||
# push:
|
push:
|
||||||
# paths:
|
paths:
|
||||||
# - 'examples/*.rs'
|
- 'examples/*.rs'
|
||||||
# - 'libraries/**/*.rs'
|
- 'libraries/**/*.rs'
|
||||||
# - 'src/**/*.rs'
|
- 'src/**/*.rs'
|
||||||
# - 'patches/**'
|
- 'patches/**'
|
||||||
# - '**/Cargo.toml'
|
- '**/Cargo.toml'
|
||||||
# - '.cargo/config'
|
- '.cargo/config'
|
||||||
# - '!third_party/**'
|
- '!third_party/**'
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cargo_check:
|
cargo_check:
|
||||||
|
|||||||
22
.github/workflows/cargo_fmt.yml
vendored
22
.github/workflows/cargo_fmt.yml
vendored
@@ -1,14 +1,16 @@
|
|||||||
name: Cargo format
|
name: Cargo format
|
||||||
on: [push]
|
on:
|
||||||
# push:
|
push:
|
||||||
# paths:
|
paths:
|
||||||
# - 'examples/*.rs'
|
- 'examples/*.rs'
|
||||||
# - 'libraries/**/*.rs'
|
- 'libraries/**/*.rs'
|
||||||
# - 'src/**/*.rs'
|
- 'src/**/*.rs'
|
||||||
# - 'patches/**'
|
- 'patches/**'
|
||||||
# - '**/Cargo.toml'
|
- '**/Cargo.toml'
|
||||||
# - '.cargo/config'
|
- '.cargo/config'
|
||||||
# - '!third_party/**'
|
- '!third_party/**'
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cargo_format:
|
cargo_format:
|
||||||
|
|||||||
2
.github/workflows/mdlint.yml
vendored
2
.github/workflows/mdlint.yml
vendored
@@ -5,6 +5,8 @@ on:
|
|||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
- '.markdownlint.json'
|
- '.markdownlint.json'
|
||||||
- '!third_party/**'
|
- '!third_party/**'
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
mdlint:
|
mdlint:
|
||||||
|
|||||||
2
.github/workflows/pylint.yml
vendored
2
.github/workflows/pylint.yml
vendored
@@ -5,6 +5,8 @@ on:
|
|||||||
- '**/*.py'
|
- '**/*.py'
|
||||||
- '.pylintrc'
|
- '.pylintrc'
|
||||||
- '!third_party/**'
|
- '!third_party/**'
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
jobs:
|
jobs:
|
||||||
pylint:
|
pylint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user