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
Michka Popoff
2f73ca19b6
ci: move to ubuntu latest
...
Add coverage test using ubuntu 24.04
Not changing the default build CI version for core yet.
2024-11-03 22:55:30 +01: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
Bo Anderson
508fc2a0e3
workflows/doctor: use brew determine-test-runners
2023-11-17 02:11:01 +00: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
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
Bo Anderson
f0615cbf99
workflows/doctor: fix broken syntax
2023-04-11 02:49:48 +01:00
Mike McQuaid
b936fd6677
Merge pull request #14173 from carlocab/rm-change-arch
...
brew.sh: remove `HOMEBREW_CHANGE_ARCH_TO_ARM`
2022-11-29 11:15:20 +00:00
Mike McQuaid
2262abf317
Merge branch 'master' into rm-change-arch
2022-11-29 10:38:32 +00:00
Carlo Cabrera
2c1572c44c
workflows/doctor: skip unnecessary steps
...
Based on discussion from #14172 .
2022-11-24 22:44:56 +08:00
Carlo Cabrera
cf01a7f985
brew.sh: remove HOMEBREW_CHANGE_ARCH_TO_ARM
...
We used to need this because the GitHub runner process was running under
Rosetta. GitHub Actions has supported native M1 runners for a few months
now, so I think it's time to remove this.
2022-11-24 22:07:30 +08:00
Carlo Cabrera
08e81aaf7a
Apply suggestions from code review
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-11-24 21:45:16 +08:00
Carlo Cabrera
2f28b28058
workflows/doctor: use ephemeral runners
...
This workflow hasn't been set up to run on our ephemeral runners. Let's
fix that.
2022-11-24 14:15:10 +08:00
Bo Anderson
ccb1628bb4
workflows/doctor: add Monterey CI
2021-10-21 16:09:20 +01:00
Bo Anderson
f38a3239e6
workflows: reduce GITHUB_TOKEN permissions
2021-09-15 15:10:11 +01:00
Bo Anderson
c972d330cb
Update Big Sur runner labels
2021-04-12 21:20:19 +01:00
Mike McQuaid
165db571af
github/workflows: YAML cleanup.
...
Do some minor YAML cleanup.
2021-03-18 13:00:17 +00:00
Bo Anderson
ab08b01b3f
workflows/doctor: fix workflow not running
2021-02-05 15:45:31 +00:00
Mike McQuaid
92d107d666
Autoformat YAML files
...
Extracted the `.rubocop_todo.yml` change from #10397 so thought I'd do
this to all committed (non-vendor) YAML files.
2021-01-26 10:16:32 +00: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
Mike McQuaid
c6a5ea5f11
workflows: don't test paths on master
.
...
This avoids weirdness like the merged PR commits being pushed to scheduled opened PRs after merging.
It also avoids wasting resources.
2020-08-26 14:02:44 +01:00
Mike McQuaid
d2fc08d942
GitHub Actions cleanup
...
- Add consistent spacing
- Remove `pull_request: []` warning
- remove identical, implicit `name` usage
- use `actions/cache@v1` for compatibility
2020-08-13 14:54:22 +01:00
Mike McQuaid
a1dc809f5b
bin/brew: don't filter GitHub Actions variables.
2020-08-07 10:19:00 +01:00
Mike McQuaid
3e4da13934
Cleanup more GitHub Actions usage
...
Increase consistency between workflows, use more of our actions and
`@main`.
2020-08-06 19:35:39 +01:00
Mike McQuaid
16f304c3e0
workflows/doctor: add macOS brew doctor
CI.
...
When we change any of the files related to `brew doctor` or Xcode
versions ensure that we test them on the macOS self-hosted workers so
we don't merge changes here that break `brew doctor` there.
2020-06-07 21:17:02 +01:00