Skip to content

Commit

Permalink
Replicate .github/workflow on master branch (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico authored Mar 4, 2021
1 parent 55b1bc0 commit 800e076
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Validate Gradle Wrapper
on:
push:
branches:
- master
- feat/gradle-plugin-v2
pull_request:
branches:
- '*'

jobs:
validation:
name: Validation
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
uses: actions/checkout@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

35 changes: 35 additions & 0 deletions .github/workflows/pre-merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Pre Merge Checks

on:
push:
branches:
- master
- feat/gradle-plugin-v2
pull_request:
branches:
- '*'

jobs:
pre-merge-checks:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Cache Gradle Files
uses: actions/cache@v2
with:
path: |
~/.gradle/caches/
~/.gradle/wrapper/
key: cache-gradle-${{ matrix.os }}
restore-keys: |
cache-gradle-
- name: Run Gradle tasks
run: ./gradlew preMerge --continue

- name: Run the persistSentryProguardUuids task
run: ./gradlew persistSentryProguardUuidsForReleaseRelease

0 comments on commit 800e076

Please sign in to comment.