From 46e844fc4e9eb4299eaf24764f997e0e7becaffa Mon Sep 17 00:00:00 2001 From: abohannon Date: Fri, 11 Sep 2026 16:01:41 -0400 Subject: [PATCH] Replace Travis CI with Github Actions Travis CI is no longer set up properly nor supported. --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ .travis.yml | 3 --- 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..358e100 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,30 @@ +name: jsontoken CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Set up OpenJDK 8 + uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 + with: + java-version: '8' + distribution: 'temurin' # 'temurin' is the Eclipse Temurin OpenJDK distribution + cache: 'maven' + + - name: Build with Maven + run: mvn -B test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b179f30..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: java -jdk: - - openjdk8