Skip to content

Commit f427b64

Browse files
authored
Create new github actions (TooTallNate#931)
* Create action * Create actions * Delete pushtobranch.yml * Update ci.yml * Delete stale.yml
1 parent 89df856 commit f427b64

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Continuous Integration
2+
3+
on: [push]
4+
5+
jobs:
6+
Build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Set up JDK 1.8
11+
uses: actions/setup-java@v1
12+
with:
13+
java-version: 1.8
14+
- name: Build
15+
run: mvn -DskipTests package --file pom.xml
16+
17+
Test:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v1
21+
- name: Set up JDK 1.8
22+
uses: actions/setup-java@v1
23+
with:
24+
java-version: 1.8
25+
- name: Test
26+
run: mvn test --file pom.xml

sonar-project.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
sonar.organization=marci4-github
2+
sonar.projectKey=org.java-websocket:Java-WebSocket
3+
4+
# relative paths to source directories. More details and properties are described
5+
# in https://sonarcloud.io/documentation/project-administration/narrowing-the-focus/
6+
sonar.sources=src/main/java/org/java_websocket

0 commit comments

Comments
 (0)