Skip to content

Commit

Permalink
Switch to GitHub Actions (#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Sep 24, 2021
1 parent aa5554e commit 3b7835a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Maven:

[Gson jar downloads](https://maven-badges.herokuapp.com/maven-central/com.google.code.gson/gson) are available from Maven Central.

[![Build Status](https://travis-ci.org/google/gson.svg?branch=master)](https://travis-ci.org/google/gson)
![Build Status](https://github.com/google/gson/actions/workflows/build.yml/badge.svg)

### Documentation
* [API Javadoc](https://www.javadoc.io/doc/com.google.code.gson/gson): Documentation for the current release
Expand Down

0 comments on commit 3b7835a

Please sign in to comment.