Skip to content

Commit 41a1799

Browse files
samples: add presubmit lint check (#194)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/04a3c534-5129-4a05-922f-148232720a95/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@9602086 Source-Link: googleapis/synthtool@c3caf07
1 parent e6f9be1 commit 41a1799

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/samples.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on:
2+
pull_request:
3+
name: samples
4+
jobs:
5+
lint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-java@v1
10+
with:
11+
java-version: 8
12+
- name: Run checkstyle
13+
run: mvn -P lint --quiet --batch-mode checkstyle:check
14+
working-directory: samples/snippets

synth.metadata

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-spanner-jdbc.git",
7-
"sha": "2259332c7657cd160aef889f88649713dd2fe61e"
7+
"sha": "e6f9be1221abf580e1203339a46fe4ca5b0a65b7"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1"
14+
"sha": "9602086c6c5b05db77950c7f7495a2a3868f3537"
1515
}
1616
}
1717
],
@@ -24,6 +24,7 @@
2424
".github/release-please.yml",
2525
".github/trusted-contribution.yml",
2626
".github/workflows/ci.yaml",
27+
".github/workflows/samples.yaml",
2728
".kokoro/build.bat",
2829
".kokoro/build.sh",
2930
".kokoro/coerce_logs.sh",

0 commit comments

Comments
 (0)