327 Commits

Author SHA1 Message Date
Mike McQuaid
d661cffc1f
Switch to using main as the default branch
Homebrew/brew has moved to a `main` default branch so we can more move
references from `master` to `main`.
2025-06-24 11:14:57 +01:00
Mike McQuaid
55f65ec375
audit: ensure that official formula and cask names don't conflict.
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2025-06-23 16:08:13 +01:00
Mike McQuaid
be6cee3006
Use Homebrew/actions/*@main in Actions workflows
We've migrated Homebrew/actions to use the `main` branch now so let's
update these references.
2025-06-13 14:22:09 +01:00
Mike McQuaid
7bd8642bfc
Tweak GitHub Actions workflows
- prepare to use `main` instead of `master`.
- use synced `actionlint.yml` to simplify Homebrew/.github sync logic.
- fix some broken workflow PR opening logic.
2025-06-11 16:39:03 +01:00
Mike McQuaid
63abe0bebf
workflows/tests.yml: more CI tweaks.
- use `macos-15` for tap syntax, no reason to use (old) `macos-14`
- use `macos-latest` for all macOS jobs where we're only testing a
  single macOS and single Linux target
- add `test default formula` jobs for Linux `arm64`
- rename a few more jobs for consistency and clarity
2025-06-09 17:28:17 +01:00
Mike McQuaid
cc03340af3
Reduce Homebrew/brew CI warnings
- Remove a bunch of non-actionable/unnecessary noise in GitHub Actions
  CI.
- Limit number of threads used to generate analytics API data to avoid
  reproducible failures producing errors and requiring retries.
- Move to Debian Old Stable for testing non-system `glibc`.
- Remove unneeded core taps/updates.
- Improve naming of CI jobs to clarify purpose i.e. we're testing
  things work on Linux, not Ubuntu specifically.
- Remove dedicated non-online/non-generic Linux `brew tests` jobs from
  3 to 1.

Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2025-06-09 12:47:22 +01:00
dependabot[bot]
90323ffc3c
build(deps): bump codecov/test-results-action
Bumps the github-actions group with 1 update: [codecov/test-results-action](https://github.com/codecov/test-results-action).


Updates `codecov/test-results-action` from 1.1.0 to 1.1.1
- [Release notes](https://github.com/codecov/test-results-action/releases)
- [Commits](f2dba722c6...47f89e9acb)

---
updated-dependencies:
- dependency-name: codecov/test-results-action
  dependency-version: 1.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-23 08:38:21 +00:00
dependabot[bot]
2723620d85
build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](ad3126e916...18283e04ce)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 14:46:40 +00:00
dependabot[bot]
0035a35036
build(deps): bump actions/setup-python from 5.5.0 to 5.6.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](8d9ed9ac5c...a26af69be9)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 5.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 20:08:38 +00:00
dependabot[bot]
6bb1bb3b15
build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](0565863a31...cf3f51a67d)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 20:35:19 +00:00
Mike McQuaid
2b92fc18fe
workflows/tests: drop macOS 13 tests.
These are almost 2x as slow as the next slowest tests and we'll be
dropping them around September this year at the latest anyway.

There's still some basic coverage from the "default formula" tests
which are much quicker to run on macOS 13.
2025-04-10 16:32:36 +01:00
Mike McQuaid
7081129767
workflows/tests: add more brew bundle/services tests.
Add a few more commands for integration testing
2025-04-08 10:26:35 +01:00
Mike McQuaid
e6420932bf
Add brew bundle and brew services integration tests
We've had a few regressions in `brew bundle` and `brew services`
recently that would have been caught by actual integration tests.

This is similar to the "default formula" jobs but we want to run outside
of those containers so we can run e.g. systemd.

This will avoid bloating the runtime of already longer-running jobs.
2025-04-07 17:33:50 +01:00
Mike McQuaid
d899f00c4b
Link to Support Tiers in diagnostic/error messages
Now that we have this nice URL let's reference it to allow our other
messages to be a bit shorter/kinder.
2025-04-01 11:35:27 +01:00
Mike McQuaid
319c3e95b5
Merge pull request #19658 from Homebrew/bootsnap_default
Enable Bootsnap by default
2025-04-01 07:31:26 +00:00
dependabot[bot]
fabcad58ae
build(deps): bump actions/setup-python from 5.4.0 to 5.5.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](42375524e2...8d9ed9ac5c)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 19:53:01 +00:00
Mike McQuaid
9560c01453
Enable Bootsnap by default
- do some optimisation of `require`s before Bootsnap
- remove `HOMEBREW_BOOTSTRAP` environment variable as it's set by
  default
- add fast require in `bootsnap.rb` using logic from `ruby.sh`
- cleanup `bootsnap.rb` a bit
- remove setting `HOMEBREW_BOOTSNAP` in GitHub Actions
2025-03-31 17:55:07 +01:00
dependabot[bot]
c38595e93b
build(deps): bump actions/cache from 4.2.2 to 4.2.3
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](d4323d4df1...5a3ec84eff)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 19:04:28 +00:00
Mike McQuaid
bdeca530ff
Migrate Homebrew/bundle to Homebrew/brew
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-03-19 06:47:01 +00:00
dependabot[bot]
41ab993dbd
build(deps): bump codecov/test-results-action from 1.0.4 to 1.1.0
Bumps [codecov/test-results-action](https://github.com/codecov/test-results-action) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/codecov/test-results-action/releases)
- [Commits](5c441a7bcc...f2dba722c6)

---
updated-dependencies:
- dependency-name: codecov/test-results-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 18:24:36 +00:00
botantony
3ef52e4844
services: migrate command to main repo (WIP) 2025-03-13 13:22:01 +00:00
Patrick Linnane
af9a94ebf0
workflows/tests: use Docker image for Ubuntu 20.04
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-03-04 12:30:46 -08:00
Patrick Linnane
49ddff7026
Merge pull request #19415 from Homebrew/dependabot/github_actions/actions/cache-4.2.2
build(deps): bump actions/cache from 4.2.1 to 4.2.2
2025-03-03 18:18:19 +00:00
dependabot[bot]
ab7fbfdc09
build(deps): bump actions/cache from 4.2.1 to 4.2.2
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0c907a75c2...d4323d4df1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 18:04:55 +00:00
dependabot[bot]
4d69e23bf2
build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](13ce06bfc6...0565863a31)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 18:04:48 +00:00
Eric Knibbe
0a8ef622a9
Merge pull request #19365 from Homebrew/dependabot/github_actions/codecov/test-results-action-1.0.4
build(deps): bump codecov/test-results-action from 1.0.3 to 1.0.4
2025-02-24 19:05:07 +00:00
dependabot[bot]
bfcfa55e86
build(deps): bump actions/cache from 4.2.0 to 4.2.1
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](1bd1e32a3b...0c907a75c2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 18:45:20 +00:00
dependabot[bot]
c728639d56
build(deps): bump codecov/test-results-action from 1.0.3 to 1.0.4
Bumps [codecov/test-results-action](https://github.com/codecov/test-results-action) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/codecov/test-results-action/releases)
- [Commits](44ecb3a270...5c441a7bcc)

---
updated-dependencies:
- dependency-name: codecov/test-results-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 18:45:09 +00:00
dependabot[bot]
94e4051369
build(deps): bump codecov/test-results-action from 1.0.2 to 1.0.3
Bumps [codecov/test-results-action](https://github.com/codecov/test-results-action) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/codecov/test-results-action/releases)
- [Commits](4e79e65778...44ecb3a270)

---
updated-dependencies:
- dependency-name: codecov/test-results-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-09 00:11:34 +00:00
Mike McQuaid
6f99704a64
Import brew formula-analytics and generate-analytics-api commands
Import these from the homebrew/formula-analytics tap and deprecate
that tap.

This required a little messing around with filenames and paths to get
it finding Python and writing to the user's home directory.
2025-02-07 20:05:05 +00:00
Mike McQuaid
8adc188992
Import brew alias and brew unalias commands
Import these from the homebrew/aliases tap and deprecate that tap.

This required a little messing around with class/module/constant names
to get `brew tests` and `brew typecheck` to play nicely.

I added also added Sorbet type signatures and integration tests.
2025-02-07 14:31:50 +00:00
dependabot[bot]
35cdf2b027
build(deps): bump codecov/codecov-action from 5.1.2 to 5.3.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.2 to 5.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](1e68e06f1d...13ce06bfc6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 18:14:27 +00:00
dependabot[bot]
81b25e4460
build(deps): bump codecov/test-results-action from 1.0.1 to 1.0.2
Bumps [codecov/test-results-action](https://github.com/codecov/test-results-action) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/codecov/test-results-action/releases)
- [Commits](9739113ad9...4e79e65778)

---
updated-dependencies:
- dependency-name: codecov/test-results-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 18:51:55 +00:00
Mike McQuaid
e69124045a
Remove BuildPulse and use CodeCov instead
Now we're successfully sending flaky test results to CodeCov, let's
remove BuildPulse code and docs.
2024-12-24 10:32:55 +00:00
Mike McQuaid
317742db2b
workflows/tests: run some jobs on push.
We need to do this to:
- populate the cache from the latest master (so it can be used in other
  branches/PRs/merge groups)
- send coverage/test flakiness information to CodeCov/BuildPulse on
  `master` builds
2024-12-20 08:23:37 +00:00
Mike McQuaid
640175e8ab
Merge pull request #18961 from Homebrew/rspec_junit_filenames
workflows/tests: fix RSpec JUnit XML filenames.
2024-12-20 05:44:53 +00:00
Mike McQuaid
afdaa20402
workflows/tests: fix RSpec JUnit XML filenames.
These weren't looking in the right place.

While we're here, let's name the step more descriptively, too.
2024-12-19 09:16:20 +00:00
dependabot[bot]
4e1bb15e50
build(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](7f8b4b4bde...1e68e06f1d)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-18 18:47:18 +00:00
Patrick Linnane
56e41319f2
workflows: use full version numbers
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-12-12 21:26:46 -08:00
Mike McQuaid
abb330d496
github/workflows: use merge_group instead of push events.
We're currently doing both which doubles the number of jobs we end up
running for commits on `master`.
2024-12-10 17:19:20 +00:00
dependabot[bot]
88c52b18fd
build(deps): bump codecov/codecov-action from 5.1.0 to 5.1.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](c2fcb216de...7f8b4b4bde)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 18:03:01 +00:00
Patrick Linnane
62329ea12e
Merge pull request #18879 from Homebrew/dependabot/github_actions/codecov/codecov-action-5.1.0
build(deps): bump codecov/codecov-action from 5.0.7 to 5.1.0
2024-12-05 10:47:39 -08:00
dependabot[bot]
a5e42710f9
build(deps): bump codecov/codecov-action from 5.0.7 to 5.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.7 to 5.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](015f24e681...c2fcb216de)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-05 18:37:01 +00:00
dependabot[bot]
b0d7e20ef8
build(deps): bump actions/cache from 4.1.2 to 4.2.0
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.2 to 4.2.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](6849a64899...1bd1e32a3b)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-05 18:36:58 +00:00
Mike McQuaid
316bf3656b
Upload test results to CodeCov
CodeCov now supports uploading test results which allows e.g. flaky test
detection and may allow us to remove BuildPulse.

Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-12-05 17:21:00 +00:00
dependabot[bot]
14afece550
build(deps): bump codecov/codecov-action from 5.0.5 to 5.0.7
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.5 to 5.0.7.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](288befbd10...015f24e681)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-21 16:08:43 +00:00
dependabot[bot]
988e3ac098
build(deps): bump codecov/codecov-action from 5.0.2 to 5.0.5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.2 to 5.0.5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](5c47607acb...288befbd10)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-20 18:40:13 +00:00
dependabot[bot]
202b6e931c
build(deps): bump codecov/codecov-action from 5.0.0 to 5.0.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](968872560f...5c47607acb)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 18:25:49 +00:00
dependabot[bot]
c902795ec5
build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.6.0 to 5.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](b9fd7d16f6...968872560f)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 18:19:26 +00:00
Mike McQuaid
5bf31cbe65
workflows/tests: tweak update-test name. 2024-11-04 09:13:49 +00:00