From 8ed6dd137dce6233df36d95348a6cd42413cae8a Mon Sep 17 00:00:00 2001 From: Dominic Evans Date: Mon, 6 Feb 2023 11:50:46 +0000 Subject: [PATCH 1/3] chore(ci): add GitHub Actions workflow Signed-off-by: Dominic Evans --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..bd1b39b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: GitHub CI +on: [push] +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Setup JDK 8 + uses: actions/setup-java@v3 + with: + java-version: '8' + distribution: 'temurin' + cache: 'maven' + - name: Set Maven version + run: ./build/setMavenVersion.sh + - name: Build and Test with Maven + run: mvn verify -fae -DskipITs From a4d0f90634c638e0d7712fcd0894b7a2ba1252b1 Mon Sep 17 00:00:00 2001 From: Dominic Evans Date: Mon, 6 Feb 2023 11:54:00 +0000 Subject: [PATCH 2/3] fix: add explicit source and output encoding Ref: http://maven.apache.org/general.html#encoding-warning Signed-off-by: Dominic Evans --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index a895229..bbe7e67 100644 --- a/pom.xml +++ b/pom.xml @@ -12,6 +12,8 @@ pom + UTF-8 + UTF-8 - - na-artifactory-ibmcloud-sdks - ${env.ARTIFACTORY_USER} - ${env.ARTIFACTORY_APIKEY} - - -