Skip to content

build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2 #1094

build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2

build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2 #1094

Workflow file for this run

name: CI
on:
push:
branches: master
pull_request:
permissions:
contents: read
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v3
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-
- name: Install Homebrew Bundler RubyGems
if: steps.cache.outputs.cache-hit != 'true'
run: brew install-bundler-gems
- run: brew test-bot --only-tap-syntax
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
- name: Install Bundler
run: gem install bundler -v "~>1"
- name: Install Homebrew/homebrew-bundle RubyGems
run: bundle install --jobs 4 --retry 3
- name: Run RSpec tests
run: bundle exec rspec
- name: Test that installing works
run: |
echo 'brew "hello"' > ./Brewfile
brew bundle
hello
- uses: codecov/codecov-action@40a12dcee2df644d47232dde008099a3e9e4f865