Update Alamofire to master branch #152
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: "Graphene CI" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
lint: | |
name: Lint code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Lint | |
uses: norio-nomura/[email protected] | |
test: | |
name: Unit tests | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 💎 Cache Gems | |
id: cache-gems | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- name: 📦 Bundle Gems | |
if: steps.cache-gems.outputs.cache-hit != 'true' | |
run: bundle install | |
- name: Run tests | |
run: bundle exec fastlane test |