Skip to content

Commit

Permalink
workflows/tests: remove unnecessary steps.
Browse files Browse the repository at this point in the history
These are done by setup-homebrew.
  • Loading branch information
MikeMcQuaid committed Aug 6, 2020
1 parent 0b3079d commit 34e6e22
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,13 @@ jobs:
os: [ubuntu-latest, macOS-latest]

steps:
- name: Set up Git repository
uses: actions/checkout@master

- name: Set up Ruby
if: matrix.os == 'ubuntu-latest'
uses: actions/setup-ruby@master
with:
ruby-version: '2.6'

- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@master
uses: actions/cache@main
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
Expand All @@ -39,6 +30,12 @@ jobs:
- name: Run brew test-bot --only-tap-syntax
run: brew test-bot --only-tap-syntax

- name: Set up Ruby
if: matrix.os == 'ubuntu-latest'
uses: actions/setup-ruby@master
with:
ruby-version: '2.6'

- name: Install Bundler
run: gem install bundler -v "~>1"

Expand Down

0 comments on commit 34e6e22

Please sign in to comment.