Skip to content

Commit

Permalink
Migrate from Travis to GitHub Actions (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewhannay authored Feb 12, 2021
1 parent e61cbb1 commit 7a5a8c4
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 35 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- '*'

jobs:
validation:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/merge-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Merge checks

on:
push:
branches:
- master
pull_request:
branches:
- '*'

jobs:
build:
name: Build project
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
steps:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Cache Gradle Files
uses: actions/cache@v2
with:
path: |
~/.gradle/caches/
~/.gradle/wrapper/
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run Gradle tasks
run: ./gradlew build
33 changes: 0 additions & 33 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
@@ -1,5 +1,5 @@
# Shaky
[![Build Status](https://travis-ci.org/linkedin/shaky-android.svg?branch=master)](https://travis-ci.org/linkedin/shaky-android)
[![Build Status](https://img.shields.io/github/workflow/status/linkedin/shaky-android/Merge%20checks)](https://img.shields.io/github/workflow/status/linkedin/shaky-android/Merge%20checks)

Shake-to-feedback plugin for Android.

Expand Down

0 comments on commit 7a5a8c4

Please sign in to comment.