Skip to content

Commit

Permalink
Create new github actions (#931)
Browse files Browse the repository at this point in the history
* Create action

* Create actions

* Delete pushtobranch.yml

* Update ci.yml

* Delete stale.yml
  • Loading branch information
marci4 committed Jan 6, 2020
1 parent 89df856 commit f427b64
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,26 @@
name: Continuous Integration

on: [push]

jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
run: mvn -DskipTests package --file pom.xml

Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Test
run: mvn test --file pom.xml
6 changes: 6 additions & 0 deletions sonar-project.properties
@@ -0,0 +1,6 @@
sonar.organization=marci4-github
sonar.projectKey=org.java-websocket:Java-WebSocket

# relative paths to source directories. More details and properties are described
# in https://sonarcloud.io/documentation/project-administration/narrowing-the-focus/
sonar.sources=src/main/java/org/java_websocket

0 comments on commit f427b64

Please sign in to comment.