Skip to content
Snippets Groups Projects
Commit 53964b1d authored by Jean-Michel Picod's avatar Jean-Michel Picod
Browse files

Also run checks on pull requests

parent a13f9cf8
No related branches found
No related tags found
No related merge requests found
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:
......
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:
......
...@@ -5,6 +5,8 @@ on: ...@@ -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:
......
...@@ -5,6 +5,8 @@ on: ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment