fix(ci): Add lightwalletd gRPC, clippy, rustfmt patch jobs (#4518)

* Add lightwalletd-grpc-test patch job

* Patch Clippy and Rustfmt CI jobs

* Only run docker always patches on PRs

* Only run docker patches on PRs
This commit is contained in:
teor 2022-05-27 14:49:22 +10:00 committed by GitHub
parent c2769dcc50
commit c50ee7e478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 23 deletions

View File

@ -10,10 +10,6 @@ on:
branches:
- main
push:
branches:
- main
jobs:
regenerate-stateful-disks:
name: Zebra checkpoint / Run sync-to-checkpoint test

View File

@ -22,25 +22,6 @@ on:
- '.github/workflows/deploy-gcp-tests.yml'
- '.github/workflows/build-docker-image.yml'
push:
branches:
- main
paths-ignore:
# code and tests
- '**/*.rs'
# hard-coded checkpoints and proptest regressions
- '**/*.txt'
# test data snapshots
- '**/*.snap'
# dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# workflow definitions
- 'docker/**'
- '.github/workflows/continous-integration-docker.yml'
- '.github/workflows/deploy-gcp-tests.yml'
- '.github/workflows/build-docker-image.yml'
jobs:
get-available-disks:
name: Find available cached state disks
@ -107,3 +88,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'
lightwalletd-grpc-test:
name: lightwalletd GRPC tests / Run lwd-grpc-wallet test
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'

19
.github/workflows/lint.patch.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Lint
on:
pull_request:
branches:
- 'main'
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'