Skip to content

Commit

Permalink
Use fastlane within Bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed May 25, 2024
1 parent ccaa966 commit bbb8c13
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: set up JDK
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'corretto'
cache: gradle

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
rubygems: latest
bundler: latest
bundler-cache: true

- name: Grant execute permission for gradlew
run: chmod +x gradlew

Expand All @@ -37,10 +45,10 @@ jobs:
run: ./gradlew build

- name: Run detekt
run: fastlane detekt
run: bundle exec fastlane detekt

- name: Run tests
run: fastlane test
run: bundle exec fastlane test

- name: Upload lint results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit bbb8c13

Please sign in to comment.