Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit a1a1edb

Browse files
samples: add presubmit lint check (#242)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/a79f8a17-dbb5-42d4-99e9-73d2b5ffda4d/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@9602086 Source-Link: googleapis/synthtool@c3caf07
1 parent 5b09dfc commit a1a1edb

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

Diff for: .github/workflows/samples.yaml

+14
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

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
1717
<dependency>
1818
<groupId>com.google.cloud</groupId>
1919
<artifactId>libraries-bom</artifactId>
20-
<version>9.0.0</version>
20+
<version>9.1.0</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>
@@ -39,7 +39,7 @@ If you are using Maven without BOM, add this to your dependencies:
3939
<dependency>
4040
<groupId>com.google.cloud</groupId>
4141
<artifactId>google-cloud-monitoring</artifactId>
42-
<version>2.0.1</version>
42+
<version>2.0.2-SNAPSHOT</version>
4343
</dependency>
4444

4545
```

Diff for: synth.metadata

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-monitoring.git",
7-
"sha": "aa7579406070baaa3aeea55ccd5bf73e1342f059"
7+
"sha": "5b09dfc50ef6df3b5e232cea2661b514c30ce145"
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
],
@@ -43,6 +43,7 @@
4343
".github/release-please.yml",
4444
".github/trusted-contribution.yml",
4545
".github/workflows/ci.yaml",
46+
".github/workflows/samples.yaml",
4647
".kokoro/build.bat",
4748
".kokoro/build.sh",
4849
".kokoro/coerce_logs.sh",

0 commit comments

Comments
 (0)