Added few tests #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: master | |
on: | |
push: | |
branches: [ master ] | |
env: | |
CACHE_BUNDLER: ~/.bundler | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
- name: Cache gradle | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Bundler cache | |
uses: actions/cache@v1 | |
with: | |
path: $CACHE_BUNDLER | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108 | |
with: | |
ruby-version: '3.1' | |
- name: install dependencies | |
run: gem install bundler && bundle install | |
- name: fastlane develop | |
uses: maierj/fastlane-action@v1.4.0 | |
with: | |
lane: develop | |
options: '{ "conf": "release" }' | |
skip-tracking: false | |
subdirectory: fastlane | |
bundle-install-path: CACHE_BUNDLER |