Skip to content

Fix borgbackup unable to find packaging dependency #72

Fix borgbackup unable to find packaging dependency

Fix borgbackup unable to find packaging dependency #72

Workflow file for this run

on:
pull_request:
push:
jobs:
test:
name: Test Homebrew install
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os:
- macos-13
- macos-14
timeout-minutes: 15
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
test-bot: false
- name: Cache Homebrew Gems
id: cache
uses: actions/cache@v4
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ matrix.os }}-rubygems-
- name: Install Homebrew Gems
id: gems
run: brew install-bundler-gems
if: steps.cache.outputs.cache-hit != 'true'
- name: Install macFUSE
run: brew install --cask macfuse
- name: Test formula
env:
HOMEBREW_NO_INSTALL_FROM_API: 1
run: |
brew install borgbackup-fuse
brew test borgbackup-fuse
brew style borgbackup-fuse
brew audit --online --strict borgbackup-fuse
brew uninstall borgbackup-fuse