mirror of
https://github.com/Homebrew/brew.git
synced 2026-08-12 22:29:27 +04:00
Bumps the github-actions group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [Homebrew/actions/setup-homebrew](https://github.com/homebrew/actions) | `2026.07.29.1` | `2026.08.03.2` | | [Homebrew/actions/cache-homebrew-prefix](https://github.com/homebrew/actions) | `2026.07.29.1` | `2026.08.03.2` | | [Homebrew/actions/setup-ruby](https://github.com/homebrew/actions) | `2026.07.29.1` | `2026.08.03.2` | | [Homebrew/actions/create-or-update-issue](https://github.com/homebrew/actions) | `2026.07.29.1` | `2026.08.03.2` | | [Homebrew/actions/git-user-config](https://github.com/homebrew/actions) | `2026.07.29.1` | `2026.08.03.2` | | [Homebrew/actions/setup-commit-signing](https://github.com/homebrew/actions) | `2026.07.29.1` | `2026.08.03.2` | | [Homebrew/actions/git-try-push](https://github.com/homebrew/actions) | `2026.07.29.1` | `2026.08.03.2` | Updates `Homebrew/actions/setup-homebrew` from 2026.07.29.1 to 2026.08.03.2 - [Release notes](https://github.com/homebrew/actions/releases) - [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts) - [Commits](https://github.com/homebrew/actions/compare/2026.07.29.1...fd832223f9f99ebf0244dd20658680e5d4aca049) Updates `Homebrew/actions/cache-homebrew-prefix` from 2026.07.29.1 to 2026.08.03.2 - [Release notes](https://github.com/homebrew/actions/releases) - [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts) - [Commits](https://github.com/homebrew/actions/compare/2026.07.29.1...fd832223f9f99ebf0244dd20658680e5d4aca049) Updates `Homebrew/actions/setup-ruby` from 2026.07.29.1 to 2026.08.03.2 - [Release notes](https://github.com/homebrew/actions/releases) - [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts) - [Commits](https://github.com/homebrew/actions/compare/9af03b7ae3f9e2ae5c174f659d5c3909f7e7dbac...fd832223f9f99ebf0244dd20658680e5d4aca049) Updates `Homebrew/actions/create-or-update-issue` from 2026.07.29.1 to 2026.08.03.2 - [Release notes](https://github.com/homebrew/actions/releases) - [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts) - [Commits](https://github.com/homebrew/actions/compare/9af03b7ae3f9e2ae5c174f659d5c3909f7e7dbac...fd832223f9f99ebf0244dd20658680e5d4aca049) Updates `Homebrew/actions/git-user-config` from 2026.07.29.1 to 2026.08.03.2 - [Release notes](https://github.com/homebrew/actions/releases) - [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts) - [Commits](https://github.com/homebrew/actions/compare/9af03b7ae3f9e2ae5c174f659d5c3909f7e7dbac...fd832223f9f99ebf0244dd20658680e5d4aca049) Updates `Homebrew/actions/setup-commit-signing` from 2026.07.29.1 to 2026.08.03.2 - [Release notes](https://github.com/homebrew/actions/releases) - [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts) - [Commits](https://github.com/homebrew/actions/compare/9af03b7ae3f9e2ae5c174f659d5c3909f7e7dbac...fd832223f9f99ebf0244dd20658680e5d4aca049) Updates `Homebrew/actions/git-try-push` from 2026.07.29.1 to 2026.08.03.2 - [Release notes](https://github.com/homebrew/actions/releases) - [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts) - [Commits](https://github.com/homebrew/actions/compare/9af03b7ae3f9e2ae5c174f659d5c3909f7e7dbac...fd832223f9f99ebf0244dd20658680e5d4aca049) --- updated-dependencies: - dependency-name: Homebrew/actions/setup-homebrew dependency-version: 2026.08.03.2 dependency-type: direct:production dependency-group: github-actions - dependency-name: Homebrew/actions/cache-homebrew-prefix dependency-version: 2026.08.03.2 dependency-type: direct:production dependency-group: github-actions - dependency-name: Homebrew/actions/setup-ruby dependency-version: 2026.08.03.2 dependency-type: direct:production dependency-group: github-actions - dependency-name: Homebrew/actions/create-or-update-issue dependency-version: 2026.08.03.2 dependency-type: direct:production dependency-group: github-actions - dependency-name: Homebrew/actions/git-user-config dependency-version: 2026.08.03.2 dependency-type: direct:production dependency-group: github-actions - dependency-name: Homebrew/actions/setup-commit-signing dependency-version: 2026.08.03.2 dependency-type: direct:production dependency-group: github-actions - dependency-name: Homebrew/actions/git-try-push dependency-version: 2026.08.03.2 dependency-type: direct:production dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
73 lines
2.4 KiB
YAML
73 lines
2.4 KiB
YAML
name: Check Vendor Version
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/vendor-version.yml
|
|
- Library/Homebrew/vendor/bundle/ruby/**
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash -xeuo pipefail {0}
|
|
|
|
jobs:
|
|
check-vendor-version:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Homebrew
|
|
id: set-up-homebrew
|
|
uses: Homebrew/actions/setup-homebrew@fd832223f9f99ebf0244dd20658680e5d4aca049 # 2026.08.03.2
|
|
with:
|
|
core: false
|
|
cask: false
|
|
|
|
- name: Install Bundler RubyGems
|
|
run: brew install-bundler-gems --groups=all
|
|
|
|
- name: Get Ruby ABI version
|
|
id: ruby-abi
|
|
run: echo "version=$(brew ruby -e "puts Gem.ruby_api_version")" >> "${GITHUB_OUTPUT}"
|
|
|
|
- name: Get gem info
|
|
id: gem-info
|
|
working-directory: ${{ steps.set-up-homebrew.outputs.gems-path }}/${{ steps.ruby-abi.outputs.version }}/gems
|
|
run: |
|
|
{
|
|
echo "vendor-version=$(<../.homebrew_vendor_version)"
|
|
echo "ignored<<EOS"
|
|
git check-ignore -- *
|
|
echo "EOS"
|
|
} >> "${GITHUB_OUTPUT}"
|
|
|
|
- name: Compare to base ref
|
|
working-directory: ${{ steps.set-up-homebrew.outputs.gems-path }}/${{ steps.ruby-abi.outputs.version }}
|
|
env:
|
|
ABI_VERSION: ${{ steps.ruby-abi.outputs.version }}
|
|
VENDOR_VERSION: ${{ steps.gem-info.outputs.vendor-version }}
|
|
IGNORED_GEMS: ${{ steps.gem-info.outputs.ignored }}
|
|
run: |
|
|
git checkout "origin/${GITHUB_BASE_REF}"
|
|
rm .homebrew_vendor_version
|
|
brew install-bundler-gems --groups=all
|
|
if [[ "$(brew ruby -e "puts Gem.ruby_api_version")" == "${ABI_VERSION}" && \
|
|
"$(<.homebrew_vendor_version)" == "${VENDOR_VERSION}" ]]
|
|
then
|
|
while IFS= read -r gem; do
|
|
gem_dir="./gems/${gem}"
|
|
[[ -d "${gem_dir}" ]] || continue
|
|
exit_code=0
|
|
git check-ignore --quiet "${gem_dir}" || exit_code=$?
|
|
if (( exit_code != 0 )); then
|
|
if (( exit_code == 1 )); then
|
|
echo "::error::VENDOR_VERSION needs bumping in utils/gem_setup.rb" >&2
|
|
else
|
|
echo "::error::git check-ignore failed" >&2
|
|
fi
|
|
exit "${exit_code}"
|
|
fi
|
|
done <<< "${IGNORED_GEMS}"
|
|
fi
|