223 Commits

Author SHA1 Message Date
Mike McQuaid
cb4ed5a8c2
workflows/tests: run vendored gems on macOS 11.
All existing workflows using this seem to be broken.
2020-12-03 15:38:17 +00:00
Markus Reiter
182d4e758a Run vendor-gems on Big Sur. 2020-12-03 01:36:37 +01:00
Rylan Polster
8d3dd432e2 workflows/triage: skip for BrewTestBot PRs 2020-11-30 22:49:26 -05:00
Markus Reiter
c17d55201e Try using macos-latest for all jobs except tests. 2020-11-30 20:52:27 +01:00
Markus Reiter
10f2a39f9c Remove unneeded quotes. 2020-11-30 20:52:27 +01:00
Mike McQuaid
7561130904 workflows/tests: style tweaks. 2020-11-30 20:52:27 +01:00
Markus Reiter
f61d1101a1 Add vendored-gems to conclusion needs. 2020-11-30 20:52:27 +01:00
Markus Reiter
9477b8648f Add vendored-gems step. 2020-11-30 20:52:27 +01:00
Markus Reiter
a768859150 Try uploading coverage for all configurations. 2020-11-30 20:52:27 +01:00
Markus Reiter
3a1ad9334f Reword job name. 2020-11-30 20:52:27 +01:00
Markus Reiter
75c637d0d3 Always run conclusion. 2020-11-30 20:52:27 +01:00
Markus Reiter
2c34167131 Check for --coverage flag. 2020-11-30 20:52:27 +01:00
Markus Reiter
d404992676 Reorder jobs. 2020-11-30 20:52:27 +01:00
Markus Reiter
de280c4192 Don't wait for syntax job. 2020-11-30 20:52:27 +01:00
Markus Reiter
7ab22826b2 Add conclusion step to be used as required check. 2020-11-30 20:52:27 +01:00
Markus Reiter
fb59f6a12c Merge brew-tests and brew-tests-coverage. 2020-11-30 20:52:27 +01:00
Mike McQuaid
5f42fd9545 workflows/tests: split out jobs.
Separate out the slow parts of tests into jobs that can be run in
parallel.

Also:
- general refactoring from YAML linter.
- don't build on `macOS-latest` now that Big Sur is the latest stable
  release.
- Use `runner.os` when it improves readability over `matrix.os`.
2020-11-30 20:52:27 +01:00
Mike McQuaid
525652d5b6
workflows/tests: update-reset homebrew-cask-versions.
Needed after https://github.com/Homebrew/homebrew-test-bot/pull/526.
2020-11-30 15:26:58 +00:00
dependabot[bot]
dfcfa836b8
Bump reitermarkus/rerun-workflow
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from cf91bee6964dfde64eccbf5600c3ea206af11359 to 1.1.5. This release includes the previously tagged commit.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](cf91bee696...e2647e8885)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-24 15:28:43 +00:00
Markus Reiter
dbd43fe716 Move logic for calculating date offset into separate function. 2020-11-23 07:26:38 +01:00
Markus Reiter
16736755ff Skip review for pull requests by BrewTestBot. 2020-11-23 05:08:05 +01:00
Markus Reiter
b92a160f74 Skip from Saturday/Sunday to end of Monday. 2020-11-22 23:29:14 +01:00
Markus Reiter
fb1f12d601
Merge pull request #9243 from Homebrew/triage-review
Add `triage` workflow.
2020-11-21 18:49:46 +01:00
Markus Reiter
cbda2c0f98 Add triage workflow. 2020-11-21 17:49:26 +01:00
Markus Reiter
49b95da14b Update sorbet and sorbet-runtime together. 2020-11-21 04:14:41 +01:00
Markus Reiter
31adc607b8
Merge pull request #9231 from Homebrew/vendor-gems
Add `vendor-gems` workflow.
2020-11-20 20:46:06 +01:00
Markus Reiter
783191e3da Allow running sorbet workflow manually. 2020-11-20 19:52:13 +01:00
Markus Reiter
257855a929 Run sorbet workflow on macOS. 2020-11-20 19:17:17 +01:00
Markus Reiter
0658516180 Add vendor-gems workflow. 2020-11-20 19:09:18 +01:00
Mike McQuaid
74264b8582
Big Sur cleanup
Remove `HOMEBREW_BIG_SUR_TESTING` variable as it is no longer needed.
2020-11-18 10:15:53 +00:00
Markus Reiter
f87c9c5dc4 Fix tests failing locally. 2020-11-18 05:54:42 +01:00
Markus Reiter
47ea08e131 Run brew style on all cask taps instead of running brew cask style. 2020-11-11 08:33:22 +01:00
Mike McQuaid
6b27dcb11c
workflows/tests: use Big Sur.
Migrate GitHub Actions to Big Sur.
2020-11-06 15:11:33 +00:00
Shohei Ueda
3497008e6c
Use GITHUB_ENV instead of set-env
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

> Action and workflow authors who are setting environment variables via stdout should update any usage of the set-env and add-path workflow commands to use the new environment files.
2020-10-15 10:34:52 +09:00
Markus Reiter
4382ee9d14 Remove files.yaml for Sorbet. 2020-10-10 19:10:58 +02:00
Markus Reiter
fb9aafbb08
Merge pull request #8781 from reitermarkus/rubocop-sorbet
Add and vendor `rubocop-sorbet` and `sorbet-runtime-stub`.
2020-10-10 10:30:31 +02:00
Markus Reiter
3b32e18d0c Fix dependabot.yml. 2020-10-09 17:18:15 +02:00
Markus Reiter
bbea2d840d Run brew typecheck without --quiet on CI. 2020-10-09 16:45:13 +02:00
Jonathan Chang
5b46710987 workflows: revert doctor change 2020-10-05 14:01:04 +11:00
Jonathan Chang
0d56238e85 workflows: properly run brew doctor 2020-10-04 00:00:00 +10:00
Markus Reiter
73ac03149c Switch most dependabot updates back to daily. 2020-09-23 20:49:40 +02:00
Markus Reiter
3c1d29d6c4 Add dependabot.yml. 2020-09-21 23:44:32 +02:00
Issy Long
189d10b32b
workflows/sorbet: Rename from Tapioca as it does more than Tapioca now
- This uses the `--update` switch to do both RBI file updates and pruning of
  deleted files from `sorbet/files.yaml`. The assumption is that only
  this automated task will run this command.
2020-09-21 08:59:33 +01:00
Issy Long
34ea8cbc9d
PULL_REQUEST_TEMPLATE: Add a checklist item for brew man
- I've been changing command flags recently. I always forget to run
  `brew man`, then I feel bad about causing red CI on my PRs. This has
  happened to others too, so make `brew man` more obvious as a thing
  that one should check.
2020-09-18 16:22:41 +01:00
Issy Long
3bf5136e82
dev-cmd/typecheck: Delete old files from sorbet/files.yaml
- I was going through the `sorbet/files.yaml` moving various things to
  `true`, playing around locally, and happened upon some files that it
  was tracking that had been deleted.
- We want to do some automation of new files, but I'm not sure we'd ever
  considered the possibility of code being removed. :-D
- This adds a `--prune-files-list` switch and updates the Tapioca GitHub
  Actions workflow to use it. Any changes to the `sorbet/files.yaml`
  file will be committed as part of the scheduled Tapioca update job.
2020-09-18 12:30:43 +01:00
Mike McQuaid
16ee849c43
Merge pull request #8632 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.8.0
build(deps): bump rubocop-performance from 1.7.1 to 1.8.0 in /Library/Homebrew
2020-09-11 11:58:49 +01:00
Mike McQuaid
5a20968c19 Tweak tests annotations
- Don't skip Git installation tests on generic OS; remove it instead.
- Install Subversion for macOS Subversion tests.
2020-09-11 11:11:42 +01:00
Mike McQuaid
ba54a54dfc tests: handle tapped homebrew/bundle. 2020-09-11 11:00:42 +01:00
Mike McQuaid
ca7339da21 workflows: reduce scheduled PR workflow's frequency.
Once every 24h should be sufficient for both of these.
2020-09-04 14:11:23 +01:00
Mike McQuaid
5ac1ea8762 workflows: make homebrew lowercase again for Docker.
Otherwise this fails.
2020-09-03 13:31:34 +01:00