Skip to content

chore: update GitHub repo config #69

chore: update GitHub repo config

chore: update GitHub repo config #69

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@07a2e10c5e201418f928690f897aaff92cf24d3a # master
- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
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
# TODO: Figure out idiomatic way to test casks
- name: Run tests
run: |
brew test-bot --testing-formulae unwarp
brew install --cask kicad
brew uninstall --cask kicad
brew install --cask kicad@8
brew uninstall --cask kicad@8