chore(deps): bump golang.org/x/term from 0.27.0 to 0.36.0 #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Homebrew Build and Installation Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
run_install_tests: | |
description: "Run installation tests" | |
required: false | |
default: "false" | |
type: choice | |
options: | |
- "false" | |
- "true" | |
jobs: | |
test-homebrew-build: | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Verify Homebrew is installed | |
run: | | |
echo "Homebrew version:" | |
brew --version | |
- name: Install GoReleaser | |
run: brew install goreleaser | |
- name: Make test script executable | |
run: chmod +x test-scripts/test-homebrew-build.sh | |
- name: Run build validation | |
run: ./test-scripts/test-homebrew-build.sh | |
- name: Run installation tests | |
run: ./test-scripts/test-homebrew-build.sh --install | |
# Upload generated Homebrew formula (cask distribution has been disabled) | |
- name: Upload generated Homebrew files | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: homebrew-files | |
path: | | |
dist/homebrew/Formula/hookdeck.rb | |
retention-days: 7 |