GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add workflow to check code style and modify violationSeverity · ArcYu/Java-WebSocket@9f2e3f4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • checkstyle.yml
  • pom.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/checkstyle.yml‎

Copy file name to clipboard
+20Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This workflow will build a Java project with Maven
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Java Code Style Check with Maven
5+
6+
on: [push]
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up JDK 1.8
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: 1.8
19+
- name: Code Style Check
20+
run: mvn -B validate --file pom.xml
Collapse file

‎pom.xml‎

Copy file name to clipboardExpand all lines: pom.xml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,11 @@
181181
<version>${maven.checkstyle.plugin.version}</version>
182182
<configuration>
183183
<configLocation>google_checks.xml</configLocation>
184+
<violationSeverity>warning</violationSeverity>
184185
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
185186
<suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
186187
<consoleOutput>true</consoleOutput>
187-
<failsOnError>true</failsOnError>
188+
<failsOnError>false</failsOnError>
188189
</configuration>
189190
<executions>
190191
<execution>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.