Skip to content

ci: add bump pipeline (#8) #40

ci: add bump pipeline (#8)

ci: add bump pipeline (#8) #40

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
defaults:
run:
# NOTE: Default option does not include `-o pipefail` as documented
# unless explicitly specifying the `bash` shell.
# https://github.com/actions/runner/issues/353
shell: bash
jobs:
test:
name: test
runs-on: macos-15
timeout-minutes: 10
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@v4.2.4
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
# TODO: Figure how to test all formulae by default
- name: Run tests
run: |
brew test-bot --testing-formulae unwarp