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/HEADER.txt b/HEADER.txt index 9ab8bd9..0b33821 100644 --- a/HEADER.txt +++ b/HEADER.txt @@ -1,7 +1,7 @@ /* biojava-adam BioJava and ADAM integration. - Copyright (c) 2017-2021 held jointly by the individual authors. + Copyright (c) 2017-2022 held jointly by the individual authors. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published diff --git a/README.md b/README.md index bfacc91..c2dc7e4 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.0.2 or later, http://spark.apache.org - * ADAM: Genomic Data System 0.34.0 or later, https://github.com/bigdatagenomics/adam + * Apache Spark 3.2.1 or later, http://spark.apache.org + * ADAM: Genomic Data System 1.0 or later, https://github.com/bigdatagenomics/adam To build @@ -35,10 +35,10 @@ Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ - /___/ .__/\_,_/_/ /_/\_\ version 3.0.2 + /___/ .__/\_,_/_/ /_/\_\ version 3.2.1 /_/ -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 1eae007..a4a34d5 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@