From 21bcaa73a6676fdb4f31232092db58cb7f3c2df2 Mon Sep 17 00:00:00 2001 From: Albert Tregnaghi Date: Thu, 17 Oct 2019 13:16:35 +0200 Subject: [PATCH] Starting github actions - Created github action for gradle build - contains same as jenkins build but without security scan and documentation On behalf of Daimler TSS GmbH. --- .github/workflows/gradle.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 000000000..66a057271 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,25 @@ +name: Java and GO CI + +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 CLI + run: ./gradlew clean ensureLocalhostCertificate build -x :sechub-integrationtest:test -x :sechub-cli:build + - name: Set up Go + uses: actions/setup-go@v1 + with: + go-version: '1.13.1' + - name: Build Server + run: ./gradlew :sechub-cli:buildGo :sechub-cli:testGo + - name: Integration test + run: ./gradlew integrationtest