Mike McQuaid
16feec525f
tests: install Subversion for macOS.
...
Some tests need this and warn without and it's not installed by
default these days.
2023-08-10 16:27:52 +01:00
Mike McQuaid
71888db8ba
bottle: reproducibility fixes.
...
I noticed from
https://github.com/Homebrew/homebrew-core/actions/runs/5751070010 that
we're no longer creating reproducible bottles between macOS and Linux.
All macOS checksums have changed but Linux ones have not. The main
difference between the two platforms is the `gtar` version used so let's
always just use the formula on both platforms.
While we're here, clear up the ordering and comments a little on the
reproducible `tar` arguments so that it's easier to compare with the
reproducible builds archives documentation.
2023-08-04 10:02:44 +01:00
Mike McQuaid
80ab86ce2c
workflows/build-pkg: install gh
.
...
Now that we're nuking and reinstalling Homebrew: need to install this
too.
2023-07-31 19:29:10 +01:00
Mike McQuaid
8819925af4
package/resources: improve text output.
...
- use the system font instead of Helvetica
- cleanup font definitions
- add extra newline to `CONCLUSION.rtf` to next steps not showing up
without a click
- add actual hyperlinks to `CONCLUSION.rtf`
Fixes #15793
2023-07-31 14:56:40 +01:00
Mike McQuaid
2b0471c122
workflows/build-pkg: actually try to install package.
...
- This should help avoid this regressing
- Remove existing Homebrew installation(s)
- Install it twice to ensure that installing over the top of an existing
installation works as expected
- Remove existing API cache to ensure we have the freshest files from
the API in our package
2023-07-27 15:51:40 +01:00
Mike McQuaid
b00a95b678
pkg installer: install cached API data.
...
Continuing with the goals of making the installer:
- more useful
- entirely offline
Let's pre-download the API data from a `brew update` run and install it
into the logged-in user's home directory.
While we're here, in the `postinstall` script:
- use longer arguments for various commands
- fix an issue with symlinking on Intel if `/usr/local/bin` doesn't
already exist
- unset `bash -x` and use `-v` on more commands instead
2023-07-26 15:32:14 +01:00
Mike McQuaid
c5afd5d056
macOS .pkg improvements
...
- don't include GitHub Actions credentials
- generate and include RTF version of Homebrew BSD license
- create nicer installer with `productbuild`
- customise welcome/conclusion messages
- add Homebrew logo as a background image
- remove unnecessary `preinstall` script
- cleanup `postinstall` script to pass `brew doctor`
- use `Distribution.xml` for a nicer installer
- require CLT or Xcode rather than using our hacks to try and install
CLT during installation
2023-07-25 15:47:34 +01:00
TETRA2000
051d7ec4f7
Add package signing configuration for GitHub Actions
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2023-07-24 17:10:31 +01:00
Mike McQuaid
e1a7afb3cf
dev-cmd/generate-*-api: be a bit safer.
...
- also try generating formula API on macOS
- pull more logic out of `unless args.dry_run?` in case it fails
2023-07-18 12:57:09 +01:00
Mike McQuaid
5121567a9a
workflows: improve setup-homebrew and API usage.
...
- `HOMEBREW_NO_INSTALL_FROM_API` was passed in a few places
unnecessarily
- https://github.com/Homebrew/actions/pull/393 will change the default
behaviour of setup-homebrew so let's be explicit to speed things up
and avoid changes when it's merged
2023-07-06 16:54:06 +01:00
BrewTestBot
72068b2a56
Update maintainers.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2023-06-17 00:05:52 +00:00
BrewTestBot
eb3f90ef01
triage-issues.yml: update to match main configuration
2023-06-13 10:05:35 +00:00
Razvan Azamfirei
520cfe5694
remove cask-drivers from tests
2023-06-08 08:26:03 -04:00
Bo Anderson
54bd9533ea
workflows/tests: update homebrew-cask
2023-06-05 20:51:39 +01:00
Ruoyu Zhong
4e11b62017
workflows/actionlint: run on actionlint
config change
2023-06-03 18:14:25 +08:00
Ruoyu Zhong
b62740b102
actionlint.yaml: remove workaround for macos-13
...
This is no longer needed after Homebrew/homebrew-core#132722 .
This reverts commit f729127fae6a12e173f55a59ef90a72c7cf18141.
2023-06-03 17:52:17 +08:00
Mike McQuaid
33a3f72fbc
Merge pull request #15492 from carlocab/no-run-attempt
...
github_runner_matrix: remove `GITHUB_RUN_ATTEMPT`
2023-05-29 16:22:21 +01:00
Carlo Cabrera
40166eb5e7
github_runner_matrix: remove GITHUB_RUN_ATTEMPT
...
This should no longer be needed after
Homebrew/ci-orchestrator@845d26ccc0 .
2023-05-29 22:36:00 +08:00
BrewTestBot
782aa04e20
Update maintainers.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2023-05-29 13:32:19 +00:00
Carlo Cabrera
909b8d078e
dev-cmd/update-maintainers: write JSON of maintainers
...
This will be needed for Homebrew/homebrew-test-bot#933 .
2023-05-29 21:30:47 +08:00
Markus Reiter
d55f1b85bf
Add --os
and --arch
flags to readall
.
2023-05-20 20:11:31 +02:00
dependabot[bot]
e41a47e730
Bump codecov/codecov-action from 3.1.3 to 3.1.4
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](894ff025c7...eaaf4bedf3
)
---
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>
2023-05-16 18:56:46 +00:00
apainintheneck
152020038c
workflows/tests: use dry run for generate-*-api
2023-05-15 18:32:11 -07:00
Mike McQuaid
cea0ec8b40
workflows/tests: test API generation.
...
This should avoid making changes here that break API generation.
2023-05-14 19:46:24 +01:00
Ruoyu Zhong
733eff2fa7
workflows/build-pkg: only run on Homebrew-owned repos
...
This prevents the workflow from being run in a fork.
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-05-10 12:59:33 +08:00
Bo Anderson
b5f4e8e790
workflows/tests: fix Codecov root dir
2023-04-27 14:59:18 +01:00
Ruoyu Zhong
f729127fae
actionlint.yaml: add workaround for macos-13
2023-04-25 17:55:22 +08:00
Ruoyu Zhong
381cbe5f74
workflows/vendor-gems: run on macos-13
2023-04-25 11:23:18 +08:00
Ruoyu Zhong
c4020d9b71
workflows/tests: run on macos-13
2023-04-25 11:23:01 +08:00
Ruoyu Zhong
3575ca9bbb
workflows/sorbet: run on macos-13
2023-04-25 11:22:35 +08:00
Ruoyu Zhong
2831335f4d
workflows/build-pkg: run on macos-13
2023-04-25 11:22:21 +08:00
Douglas Eichelberger
f52cbbb9da
Vendor mechanize gem outside Gemfile
...
We only need a single file and it avoids pulling in e.g. `nokogiri`
which is vulnerable.
Allow updating it using `brew vendor-gems`.
2023-04-24 14:03:55 +01:00
dependabot[bot]
39e065fe9b
build(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](40a12dcee2...894ff025c7
)
---
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>
2023-04-20 18:56:51 +00:00
Mike McQuaid
04856a642f
Merge pull request #15144 from singingwolfboy/cache-v3
...
actions/cache@v3 for GitHub Actions
2023-04-19 10:05:15 +01:00
Ruoyu Zhong
b6eed8cef0
workflows/sponsors-maintainers-man-completions: only run on branches
...
This prevents running the jobs on tags. It can be dangerous to
force-push a tag, even though previous workflow runs actually failed.
Example of previous failure:
https://github.com/Homebrew/brew/actions/runs/4657211778/jobs/8241583576
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-04-15 08:17:45 +08:00
dependabot[bot]
625e976fb4
build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](d9f34f8cd5...40a12dcee2
)
---
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>
2023-04-12 18:56:46 +00:00
Carlo Cabrera
7b85950e7a
workflows: add actionlint workflow
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-04-12 20:31:17 +08:00
Bo Anderson
448bf1a49c
Merge pull request #15183 from Bo98/prof-group2
...
Revert "Revert "Split prof gems into their own group""
2023-04-11 15:11:57 +01:00
Mike McQuaid
df14a969d0
Merge pull request #15198 from Bo98/xcode-14.3
...
Xcode 14.3 updates
2023-04-11 10:34:30 +01:00
Bo Anderson
f0615cbf99
workflows/doctor: fix broken syntax
2023-04-11 02:49:48 +01:00
Issy Long
41466025cc
dev-cmd/style: Properly clean up the --display-cop-names
option
...
- I remember making these changes as part of the RuboCop bump
Dependabot PR (15136), but I must have not actually pushed them. Odd.
2023-04-11 00:19:09 +01:00
Carlo Cabrera
a674cbb88a
Merge pull request #15190 from carlocab/vendor-lint
...
workflows/vendor-gems: fix actionlint errors
2023-04-11 02:11:48 +08:00
Carlo Cabrera
a0bb4f36a8
Merge pull request #15189 from carlocab/sponsors-lint
...
workflows/sponsors-*: fix actionlint errors
2023-04-11 02:11:35 +08:00
Carlo Cabrera
53807a9b77
Merge pull request #15188 from carlocab/spdx-lint
...
workflows/spdx: fix actionlint errors
2023-04-11 02:11:19 +08:00
Carlo Cabrera
322b51c147
Merge pull request #15187 from carlocab/sorbet-lint
...
workflows/sorbet: fix actionlint errors
2023-04-11 02:11:07 +08:00
Carlo Cabrera
329a21e80b
workflows/vendor-gems: fix actionlint errors
2023-04-11 00:09:13 +08:00
Carlo Cabrera
a174fe5cd9
workflows/sponsors-*: fix actionlint errors
2023-04-11 00:07:36 +08:00
Carlo Cabrera
b14d462481
workflows/spdx: fix actionlint errors
2023-04-11 00:03:57 +08:00
Carlo Cabrera
141f68688b
workflows/sorbet: fix actionlint errors
2023-04-11 00:00:27 +08:00
Carlo Cabrera
130f37a243
workflows/build-pkg: fix actionlint error
...
Also, replace the `>` with `>>` to avoid running into potentially
confusing bugs in case we add more things to `GITHUB_OUTPUT` before this
line.
2023-04-10 23:56:44 +08:00