1062 Commits

Author SHA1 Message Date
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
Bo Anderson
b84bed7385
Revert "Revert "Split prof gems into their own group""
This reverts commit 7b336ed8cd3eb20461fdc45ce67e5318e53920c4.
2023-04-10 16:54:48 +01:00
Bo Anderson
496736a199
Improve sorbet & vendor gem workflow testing 2023-04-10 14:40:57 +01:00
Ruoyu Zhong
bc2f4c5ef3
workflows/sponsors-maintainers-man-completions: fix git-try-push failure 2023-04-10 03:05:37 +08:00
Issy Long
dcc44f164d
Merge pull request #15105 from issyl0/cask-audit-only-failures-default
audit: Make `--display-failures-only` the default for Casks
2023-04-07 14:43:51 +01:00
Douglas Eichelberger
200b5cad6a Minor YARD improvements 2023-04-05 10:06:45 -07:00
David Baumgold
e28abea77b actions/cache@v3 for GitHub Actions 2023-04-04 10:34:56 +02:00
Mike McQuaid
573b99bd7f
Revert "Include prof gem group in sorbet workflow" 2023-04-04 09:03:39 +01:00
Mike McQuaid
7b336ed8cd
Revert "Split prof gems into their own group" 2023-04-04 08:49:27 +01:00
Douglas Eichelberger
c7db55d01b Include prof gem group in sorbet workflow 2023-04-03 11:43:24 -07:00
Issy Long
c240cf81a4
tests: Remove --display-failures-only from brew audit cmd 2023-04-01 13:44:26 +01:00
Bo Anderson
8bafbcd65a
Split prof gems into their own group 2023-03-31 13:32:38 +01:00
Mike McQuaid
4aa959548c
Merge pull request #15047 from apainintheneck/change-order-of-tap-syntax
CI: Add audit steps for formulae and casks
2023-03-28 08:53:39 +01:00
BrewTestBot
a351e41cfe
triage-issues.yml: update to match main configuration 2023-03-27 13:55:47 +00:00
apainintheneck
7c5e98602f CI: split up audits into two jobs
There will be one for casks which runs on MacOS
and the other for formulae which runs on Linux.
2023-03-25 01:49:38 -07:00
apainintheneck
91c07232d4 CI: create tap audit job
This will reduce the time it takes for the tap-syntax job
to complete (currently that is the slowest one) and will
allow us to audit casks as well as formulae (casks weren't
getting audited before in CI).
2023-03-24 22:04:13 -07:00
Mike McQuaid
6a77ef2170
docker: stop building Ubuntu 16.04 image.
This is too slow to be building every time and we're long past the
deprecation date.

Fixes https://github.com/Homebrew/brew/issues/14661
2023-03-24 08:57:48 +00:00
Sebastian Pipping
bd16355a07 docker.yml: Run for pull requests also, for debuggability 2023-03-24 05:43:04 +01:00
Mike McQuaid
510c4dce76
Improve some CI jobs
- make the CodeCov CI job informational. We don't want red PRs just
  because the coverage varies slightly. We still get comments inline
  saying where code coverage is met; this is more useful during review
  than a single number and failing status
- make the Triage CI job do less: instead of enforcing a time period for
  review window, make it only exist to self-approve PRs for merge and
  require a maintainer otherwise to review
2023-03-23 09:20:09 +00:00
dependabot[bot]
6b1a67a047
build(deps): bump reitermarkus/rerun-workflow from 1.3.0 to 1.3.1
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](1a15891377...7381e98aa2)

---
updated-dependencies:
- dependency-name: reitermarkus/rerun-workflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 18:56:48 +00:00
Shreyans Jain
cef132f8ca
fix: save-state and set-output deprecated
Signed-off-by: Shreyans Jain <shreyansthebest2007@gmail.com>
2023-03-19 17:37:21 +05:30
apainintheneck
c831a1e5cb CI: Change order of tap-syntax step
Now the steps that say they run on all taps are
after the one where we set up all taps.
2023-03-19 00:43:00 -07:00
Mike McQuaid
1ee97d4c4d
workflows/tests: also run update-tests for merge_group. 2023-03-15 17:50:35 -04:00
Issy Long
be2bb817e2
Merge pull request #14986 from issyl0/sorbet-fix-autobump-commits 2023-03-15 19:06:12 +00:00
Mike McQuaid
6fd54eba5f
Merge pull request #14985 from dduugg/no-compat
Remove compatibility layer
2023-03-15 13:48:00 -04:00
Issy Long
f75a7621a5
sorbet: Fix (not) committing Spoom automatic sigil bumps
- This was failing to push the existing changes if there was nothing to
  commit. Add an extra `if`.

```
==> Bumping Sorbet `typed` sigils...
Checking files...

No file to bump from false to true
 Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
[sorbet-files-update 7c3c04e94] sorbet: Update RBI files.
 1 file changed, 5 insertions(+), 1 deletion(-)
On branch sorbet-files-update
nothing to commit, working tree clean
Error: Process completed with exit code 1.
```
2023-03-15 17:22:31 +00:00
Douglas Eichelberger
cc5b013cb9 Remove compatibility layer 2023-03-14 14:49:34 -07:00
Mike McQuaid
d8fce057fa
workflows/tests: enable merge group builds.
This will enable the GitHub Merge Queue. Don't bother running online
tests as they aren't required, use up the rate limit and are flaky.
2023-03-13 18:16:54 +00:00
Issy Long
20fe371c75
sorbet: More specific git add for --suggest-typed CI autobumps 2023-03-08 23:43:02 +00:00
Issy Long
9c9f6b36b5
sorbet: Oops, missed a * for **/*.rb path wildcards 2023-03-07 23:10:28 +00:00
Issy Long
7053036d93
sorbet: Run brew typecheck --update --suggest-typed on schedule in CI
- No idea if this works, let's experiment.
- Suggested in https://github.com/Homebrew/brew/pull/14893#issuecomment-1456040533.
2023-03-07 23:08:16 +00:00
Issy Long
b95c549437
ci: Move to Ubuntu 20.04 Actions runners
- The 18.04 runners are deprecated and going away in less than a month.
  Today was another scheduled brownout from GitHub
  (https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/),
  and they've been unmarked as required checks in the branch protections
  because the images are unavailable and the jobs were failing.
- However, we still need to test that Homebrew works correctly on
  non-latest Ubuntu versions so that we can test that we're correctly
  using brewed gcc/glibc, hence upgrading to 20.04 which is still old.
2023-03-07 12:48:42 +00:00
Carlo Cabrera
1201f18db0
Merge pull request #14667 from carlocab/update-reset-tap-names
cmd/update-reset: improve arg parsing
2023-02-28 22:05:10 +08:00
Carlo Cabrera
e2082f0c53
workflows/tests: avoid resetting homebrew/bundle
This command was being called with the wrong relative path, so it
silently did nothing. Now that `update-reset` errors out from invalid
arguments, we know that running `update-reset` here is not needed.
2023-02-28 21:47:08 +08:00
Issy Long
e82869b3ac
ci: Fix working directory for RuboCop filepath step? 2023-02-28 13:30:19 +00:00
Issy Long
f7dd63008e
ci: Include RuboCop filepaths check in syntax workflow
- The slowest part of the separate workflow was the repo checkout step,
  so include it in here to avoid the overhead.
2023-02-28 12:52:48 +00:00
Issy Long
93e2f86cf8
ci: Add an Action to check RuboCop filepaths
- This will stop the `Style/Documentation` filepath includes getting out of
  sync with what we declare as a public API, thus ensuring that everything is
  documented.
- Maybe we could also add a job here to check that _all_ the paths in the
  RuboCop config still exist, but that's for another time.
2023-02-28 00:18:55 +00:00
EricFromCanada
ec4d907d7d
CI: check for changes to autogenerated files 2023-02-23 09:17:56 +00:00
Bo Anderson
ae4fb07494
workflows/tests: fix failing CI when Homebrew/core not present 2023-02-18 03:31:59 +00:00
Mike McQuaid
80232af31d
More tweaks to testing output and speed
- Never bother to do `brew cleanup` after `brew install`
- Skip `brew test-bot --only-cleanup-before` in more places it's not
  needed
- Move `brew config`/`brew doctor` into the default formula run
  (through `brew test-bot --only-setup`)
- Install `buildpulse-test-reporter` rather than letting `brew tests`
  do it
- Improve the formatting of the `brew tests` step
- Further shorten the code coverage filenames
- Don't output BuildPulse results upload status unless failed
2023-02-17 16:17:45 +00:00
Mike McQuaid
9c96bf1832
workflows/tests: cache update-test's bundler.
This is only run on macOS for some reason but no harm in caching on
both.
2023-02-17 15:44:05 +00:00
Mike McQuaid
a743e9277f
workflows/tests: faster, more reliable tests.
- Extract update tests into separate tests.
- Make `brew tests --online` run only once in its own job. This job
  could be made non-required to fight flakiness.
- Split up the various macOS runs into several steps now that we have
  more parallel macOS workers available.
- Cleanup some flaky tests.
2023-02-17 15:26:18 +00:00