diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9d8fc46 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: pull_request + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'temurin' + - uses: actions/cache@v2 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - run: mvn --batch-mode --update-snapshots clean package diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..6b95963 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,29 @@ +name: Deploy Snapshot + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + if: ${{ github.repository == 'biojava/biojava-adam' }} + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'temurin' + server-id: sonatype-nexus-snapshots + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD + - uses: actions/cache@v2 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - env: + MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }} + run: mvn --batch-mode -DskipTests=true deploy diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2f2ab4f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: java -jdk: - - openjdk8 -cache: - directories: - - $HOME/.m2 diff --git a/README.md b/README.md index 12f3cd1..cde25bd 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Install * JDK 1.8 or later, http://openjdk.java.net * Apache Maven 3.6.3 or later, http://maven.apache.org - * Apache Spark 3.1.2 or later, http://spark.apache.org - * ADAM: Genomic Data System 0.36.0 or later, https://github.com/bigdatagenomics/adam + * Apache Spark 3.2.0 or later, http://spark.apache.org + * ADAM: Genomic Data System 0.37.0 or later, https://github.com/bigdatagenomics/adam To build @@ -35,10 +35,10 @@ Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ - /___/ .__/\_,_/_/ /_/\_\ version 3.1.2 + /___/ .__/\_,_/_/ /_/\_\ version 3.2.0 /_/ -Using Scala version 2.12.10 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_191) +Using Scala version 2.12.15 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_191) Type in expressions to have them evaluated. Type :help for more information. diff --git a/pom.xml b/pom.xml index 0a15e70..0559dfb 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ biojava-adam jar biojava-adam - 0.8.0 + 0.9.0 Biojava and ADAM integration. http://www.biojava.org 2017 @@ -41,7 +41,7 @@ scm:git:git@github.com:biojava/biojava-adam.git scm:git:git@github.com:biojava/biojava-adam.git git@github.com:biojava/biojava-adam.git - biojava-adam-0.8.0 + biojava-adam-0.9.0 @@ -61,7 +61,7 @@ - 0.36.0 + 0.37.0 0.12.0 6.0.4 1.8 @@ -69,11 +69,11 @@ [1.8,) UTF-8 UTF-8 - 4.2.6 - 2.12.10 + 5.0.1 + 2.12.15 2.12 1.7.30 - 3.1.2 + 3.2.0 @@ -344,10 +344,6 @@ com.google.code.findbugs jsr305 - - com.google.inject - guice - org.apache.avro avro