Skip to content

Commit a5395f4

Browse files
committed
Enable GitHub Actions.
1 parent bc0f0fc commit a5395f4

File tree

3 files changed

+24
-13
lines changed

3 files changed

+24
-13
lines changed

Diff for: .github/workflows/build.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Java CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup
15+
uses: actions/setup-java@v2
16+
with:
17+
java-version: '11'
18+
distribution: 'adopt'
19+
cache: maven
20+
- name: Build
21+
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.0.2155:sonar -Dsonar.projectKey=hrytsenko_json-data-spring-boot -Dsonar.organization=hrytsenko -Dsonar.host.url=https://sonarcloud.io -Pcoverage
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Diff for: .travis.yml

-12
This file was deleted.

Diff for: readme.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
[![Build Status](https://travis-ci.org/hrytsenko/json-data-spring-boot.svg?branch=master)](https://travis-ci.org/hrytsenko/json-data-spring-boot)
21
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=hrytsenko_json-data-spring-boot&metric=alert_status)](https://sonarcloud.io/dashboard?id=hrytsenko_json-data-spring-boot)
32
[![](https://jitpack.io/v/hrytsenko/json-data-spring-boot.svg)](https://jitpack.io/#hrytsenko/json-data-spring-boot)
43

0 commit comments

Comments
 (0)