Skip to content

Commit 667a21d

Browse files
chore: update build cfgs (googleapis#393)
* chore(java_templates): add lint/static analysis presubmit checks for samples * chore(java_templates): add lint/static analysis presubmit checks for samples * chore: fix trailing whitespace Source-Author: Jeff Ching <[email protected]> Source-Date: Mon Aug 17 14:29:16 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: c3caf0704f25a0c365f1c315e804a30b87c62a75 Source-Link: googleapis/synthtool@c3caf07 * chore(java_templates): stop running pmd/spotbugs checks for samples This was creating too much noise. We will revisit with other options and/or tune these checks. Source-Author: Jeff Ching <[email protected]> Source-Date: Wed Aug 19 12:26:49 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 9602086c6c5b05db77950c7f7495a2a3868f3537 Source-Link: googleapis/synthtool@9602086
1 parent f9bf950 commit 667a21d

2 files changed

Lines changed: 17 additions & 4 deletions

File tree

.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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-bigtable.git",
7-
"sha": "37c38bd34405e0f4fc4b08f2a43f614bb869309e"
7+
"sha": "f9bf950a91a9264d539c5a8ad22e74a7fa3dc722"
88
}
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1"
22+
"sha": "9602086c6c5b05db77950c7f7495a2a3868f3537"
2323
}
2424
}
2525
],
@@ -51,6 +51,7 @@
5151
".github/release-please.yml",
5252
".github/trusted-contribution.yml",
5353
".github/workflows/ci.yaml",
54+
".github/workflows/samples.yaml",
5455
".kokoro/build.bat",
5556
".kokoro/build.sh",
5657
".kokoro/coerce_logs.sh",
@@ -66,7 +67,6 @@
6667
".kokoro/nightly/java8-osx.cfg",
6768
".kokoro/nightly/java8-win.cfg",
6869
".kokoro/nightly/java8.cfg",
69-
".kokoro/nightly/samples.cfg",
7070
".kokoro/populate-secrets.sh",
7171
".kokoro/presubmit/clirr.cfg",
7272
".kokoro/presubmit/common.cfg",
@@ -78,7 +78,6 @@
7878
".kokoro/presubmit/java8.cfg",
7979
".kokoro/presubmit/linkage-monitor.cfg",
8080
".kokoro/presubmit/lint.cfg",
81-
".kokoro/presubmit/samples.cfg",
8281
".kokoro/release/bump_snapshot.cfg",
8382
".kokoro/release/common.cfg",
8483
".kokoro/release/common.sh",

0 commit comments

Comments
 (0)