Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fpm 0.11.0 #65

Merged
merged 1 commit into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/fpm-version-update.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Auto-update fpm Formula

on:
schedule:
- cron: "0 0 * * *" # Runs daily at midnight UTC
workflow_dispatch: # Allows manual trigger

jobs:
Expand Down
20 changes: 3 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ on:
branches:
- main
pull_request:
workflow_dispatch: # Added to allow manual triggering from the main workflow
inputs:
head_sha: # Input for the PR’s head SHA
description: 'Head SHA of the PR to test'
required: true

jobs:
test-bot:
strategy:
Expand All @@ -23,15 +19,6 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 60 # Increased timeout for ARM builds
steps:
- name: Checkout PR commit
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.head_sha }}

- name: Debug head_sha
run: echo "head_sha=${{ github.event.inputs.head_sha }}"


- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
Expand All @@ -56,13 +43,12 @@ jobs:
- run: brew test-bot --only-tap-syntax

- run: brew test-bot --only-formulae
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
if: github.event_name == 'pull_request'
env:
HOMEBREW_ARCH: ${{ matrix.arch }}
GITHUB_SHA: ${{ github.event.inputs.head_sha }}

- name: Upload bottles as artifact
if: always() && (github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch')
if: always() && (github.event_name == 'pull_request')
uses: actions/upload-artifact@v4
with:
name: bottles-${{ matrix.os }}-${{ matrix.arch }}
Expand Down
Loading