chore: update gemfile for dependabot alert fix #566
Workflow file for this run
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: Amplify release_actions fastlane plugin | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile') }} | |
restore-keys: | | |
${{ runner.os }}-gem- | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- name: Install dependencies | |
run: bundle check || bundle install --jobs=4 --retry=3 --path vendor/bundle | |
working-directory: src/fastlane/release_actions | |
- name: Run tests | |
run: bundle exec rake | |
working-directory: src/fastlane/release_actions | |
env: | |
RUBYOPT: '-rostruct' # Remove when https://github.com/fastlane/fastlane/pull/21950 gets released | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-results | |
path: test-results |