Mike McQuaid
8dc9e117f3
github/workflows: use macos-15 GitHub Actions runners.
...
- Let's use this instead of macOS 14/latest when possible.
- Keep around macOS 13 to ensure we're still testing x86_64.
2024-09-30 09:02:23 +01:00
Ruoyu Zhong
64ddb6e28c
workflows/tests: only run RSpec tests with core tap on macOS
...
It's expensive to tap `homebrew/core` on GitHub-hosted Ubuntu runners,
and using the container requires tricks to make Codecov work. So, we
rely on macOS to provide coverage for the needs_homebrew_core RSpec
tests.
2024-09-25 00:09:32 +08:00
Ruoyu Zhong
c4f80ed7f7
workflows/tests: run tap syntax job on macos-14
...
Unlike the Ubuntu images [^1], `macos-14` has both core and cask
tapped [^2] so setting up Homebrew should be faster there.
[^1]: https://github.com/actions/runner-images/blob/ubuntu24/20240922.1/images/ubuntu/scripts/build/install-homebrew.sh
[^2]: https://github.com/actions/runner-images/blob/macos-14/20240923.101/images/macos/scripts/build/install-homebrew.sh#L23-L24
2024-09-25 00:09:32 +08:00
Ruoyu Zhong
89b8e32b4f
workflows/tests: use the container for some jobs
...
The containers have `homebrew/core` tapped so we don't need to wait
forever for the tap repo to be cloned.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-09-25 00:09:31 +08:00
Carlo Cabrera
40567115a3
workflows: use set -xeuo pipefail globally
...
This makes it easier to avoid subtle shell script bugs.
2024-09-22 19:56:20 +08:00
Douglas Eichelberger
9024bad485
Update .github/workflows/tests.yml
2024-09-09 13:37:32 -07:00
Douglas Eichelberger
5fedacc108
Fix test name
2024-09-09 11:09:46 -07:00
Ruoyu Zhong
74e27a9127
workflow/tests: move Docker tests to docker.yml
...
It's more intuitive that way.
2024-08-26 12:28:34 +08:00
Carlo Cabrera
c0b72dd501
Revert "feat: add attestation to installer"
2024-08-20 01:26:27 +08:00
Sean Molenaar
2e990ce35c
fix: naming tweaks
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-08-19 17:13:33 +02:00
Sean Molenaar
96afc21057
fix: only add attestation to nightly docker
2024-08-16 08:19:52 -04:00
William Woodruff
8d5d012adb
workflows/tests: enable attestations
...
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-14 13:56:28 -04:00
Thierry Moisan
e2e9565984
workflows: pin actions
2024-07-13 10:50:43 -04:00
dependabot[bot]
79e6e612d6
build(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](125fc84a9a...e28ff129e5 )
---
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-06-13 14:23:33 +00:00
dependabot[bot]
f5790fd41e
build(deps): bump codecov/codecov-action from 4.4.0 to 4.4.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](6d798873df...125fc84a9a )
---
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-05-20 14:15:11 +00:00
Mike McQuaid
b066ac414c
SBOM: various fixes.
...
- be a bit stricter with SBOM handling with the test default formula
flow in CI by making it raise errors if SBOM's aren't generated and
validated as expected
- fix handling of HEAD installations of formulae so SBOM generation is
both correct and doesn't raise errors
- make `Formula#bottle_hash` more accepting of edge cases e.g. HEAD-only
formulae without a stable spec
Fixes #17333
2024-05-20 09:41:29 +01:00
Patrick Linnane
773dbfa92a
docs: update for Homebrew/cask-fonts deprecation
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-05-16 09:21:14 -07:00
dependabot[bot]
1500249b28
build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](5ecb98a3c6...6d798873df )
---
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-05-14 15:24:37 +00:00
Razvan Azamfirei
79e75a4770
tests: remove homebrew/cask-versions
2024-05-02 17:04:46 -04:00
dependabot[bot]
f375e513ab
build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](84508663e9...5ecb98a3c6 )
---
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-05-01 15:28:03 +00:00
Mike McQuaid
28c3215dba
analytics: support command and test-bot analytics.
...
These are used to analyse which commands are used and the
success/failure rate of official taps using `brew test-bot`.
2024-04-25 17:38:04 +01:00
Markus Reiter
26d1ff5ccb
Fix CI.
2024-04-23 02:07:42 +02:00
dependabot[bot]
34ac300aa4
build(deps): bump codecov/codecov-action from 4.2.0 to 4.3.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](7afa10ed9b...84508663e9 )
---
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-04-09 18:17:58 +00:00
dependabot[bot]
702e763821
build(deps): bump codecov/codecov-action from 4.1.1 to 4.2.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](c16abc29c9...7afa10ed9b )
---
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-04-04 19:16:26 +00:00
dependabot[bot]
8b57e80b97
build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](54bcd8715e...c16abc29c9 )
---
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-03-26 18:03:25 +00:00
Mike McQuaid
a251109960
homebrew/autoupdate is no longer official.
...
DomT4 and the Homebrew maintainers have agreed that homebrew/autoupdate
is a better fit for not being an official tap and has been moved back
to his user account.
Documentation and code has been adjusted accordingly and it was added
to the list of interesting taps.
2024-03-05 10:30:17 +00:00
dependabot[bot]
4c18bfb62b
build(deps): bump codecov/codecov-action from 4.0.2 to 4.1.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](0cfda1dd0a...54bcd8715e )
---
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-02-27 18:38:05 +00:00
Bo Anderson
8df60496ed
workflows/tests: fix codecov reporting after v4
2024-02-23 19:17:13 +00:00
dependabot[bot]
84b8e6cc67
build(deps): bump codecov/codecov-action from 4.0.1 to 4.0.2
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](e0b68c6749...0cfda1dd0a )
---
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-02-23 18:28:28 +00:00
Mike McQuaid
aca7b7f354
workflows/tests: remove brew cleanup --prune-prefix
...
This is no longer needed after
https://github.com/Homebrew/homebrew-test-bot/pull/1015
2024-02-07 18:17:13 +00:00
Mike McQuaid
2be2aa0dc8
workflows: use macos-14 runner.
...
- Use `macos-14` instead of `macos-13` most of the time.
- For `tests` and `test default formula` builds: run on both
macOS 13 x86_64 and macOS 14 arm64
- Pretend `macos-14` is a self-hosted runner until a new version of
`actionlint` is released which doesn't error on `macos-14`.
2024-02-04 12:12:12 +01:00
dependabot[bot]
a875eb22ed
build(deps): bump codecov/codecov-action from 4.0.0 to 4.0.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](f30e4959ba...e0b68c6749 )
---
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-02-02 11:28:32 +00:00
dependabot[bot]
2bf36b4b54
build(deps): bump codecov/codecov-action from 3.1.6 to 4.0.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.6 to 4.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](ab904c41d6...f30e4959ba )
---
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-01-31 18:56:56 +00:00
dependabot[bot]
3c00f37a61
build(deps): bump codecov/codecov-action from 3.1.5 to 3.1.6
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](4fe8c5f003...ab904c41d6 )
---
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-01-31 04:08:13 +00:00
dependabot[bot]
bc0da139b9
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](eaaf4bedf3...4fe8c5f003 )
---
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-01-26 03:13:53 +00:00
dependabot[bot]
87b46a4865
build(deps): bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 16:23:59 +00:00
Bo Anderson
cee50fcbca
workflows/tests: add style caching
2023-12-23 01:33:34 +00:00
Bo Anderson
89531e9ff3
Update all dependencies
2023-12-15 16:24:46 +00:00
Bo Anderson
987ebe3d6d
Require Ruby 3.1
2023-12-05 02:31:08 +00:00
Bo Anderson
559336c771
Enable Ruby 3 for HOMEBREW_DEVELOPER
2023-11-20 20:04:18 +00:00
Bo Anderson
2aa12893b0
Support Bootsnap in Ruby 3
2023-10-30 18:57:50 +00:00
Bo Anderson
e91dc6f6dc
workflows/tests: split gem cache per OS version
2023-10-05 12:35:21 +01:00
Bo Anderson
71f558229a
Test on Ruby 3.1
2023-09-29 04:46:16 +01:00
Bo Anderson
3b1c171184
Further split up Gemfile into groups
2023-09-27 17:33:44 +01:00
Mike McQuaid
298003b181
workflows/tests: workaround GitHub Actions python issues.
...
As-is there's a Python installed but not properly linked which breaks
anything that depends on Python being installed on macOS e.g.
Subversion.
2023-08-26 12:25:22 +01:00
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
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
Razvan Azamfirei
520cfe5694
remove cask-drivers from tests
2023-06-08 08:26:03 -04:00