We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9ec04c commit c3caf07Copy full SHA for c3caf07
synthtool/gcp/templates/java_library/.github/workflows/samples.yaml
@@ -0,0 +1,24 @@
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
15
+ static:
16
17
18
19
20
21
22
+ - name: Run PMD & Spotbugs
23
+ run: mvn -P lint --quiet --batch-mode compile pmd:cpd-check spotbugs:check
24
0 commit comments