Skip to content

Commit 77fcd14

Browse files
samples: add presubmit lint check (googleapis#223)
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 437122d commit 77fcd14

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed
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

java-resourcemanager/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>9.0.0</version>
23+
<version>9.1.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>

java-resourcemanager/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-resourcemanager.git",
7-
"sha": "eb673b9e07adddc302f1bf2bf7ff6edf1356e01e"
7+
"sha": "3f1921a312c398cf82e6e6aeff612895dc58a7c1"
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)