529 Commits

Author SHA1 Message Date
Mike McQuaid
e0b79254e2
workflows/tests: only brew tests --online twice.
Previously, we ran it 5 times (4 on Linux, 1 on macOS) which burned up
our GitHub Actions token rate limit much quicker than is necessary.
2023-01-02 19:23:08 +00:00
Sean Molenaar
f1cc298956
Merge pull request #14265 from SMillerDev/feature/package/generate_mac_pkg
feature: generate macOS pkg files
2022-12-28 15:45:24 +01:00
BrewTestBot
d9bfbfcba4
triage-issues.yml: update to match main configuration 2022-12-27 05:25:10 +00:00
Sean Molenaar
f6a9980e49
fix: cleanup macOS packaging
Don't allow specifying target
Add `set -e` to shell scripts
Don't try and package on every PR

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-21 13:18:09 +01:00
Sean Molenaar
72b3348fb1
feature: generate macOS pkg files 2022-12-19 21:26:24 +01:00
dependabot[bot]
614064d546
build(deps): bump reitermarkus/rerun-workflow from 1.2.2 to 1.3.0
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](c8d5bc3526...1a15891377)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:00:59 +00:00
BrewTestBot
6793974b95
triage-issues.yml: update to match main configuration 2022-12-05 10:01:56 +00:00
Mike McQuaid
f3085e51a2
Merge pull request #14156 from EricFromCanada/additional-ci-tests
CI: check yard & mdl output
2022-11-29 11:15:34 +00: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
EricFromCanada
d9ef454528
CI: add docs.yml
With fixes for Markdown syntax to allow tests to pass.
2022-11-26 10:28:12 -05: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
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04. 2022-11-09 14:45:43 +00:00
Bo Anderson
3867038ab7
workflows: migrate from deprecated set-output 2022-10-11 20:11:15 +01:00
Mike McQuaid
4aa765fafe
Cleanup and fix CI jobs
- use macOS 12 or Ubuntu 22.04 wherever appropriate
- don't append `(Linux)` to job names
- use specific Ubuntu 22.04 and Ubuntu 18.04 jobs

We may want to consider more Ubuntu 18.04 jobs in future, too.
2022-09-27 10:30:08 +01:00
BrewTestBot
a3dca99798
triage-issues.yml: update to match main configuration 2022-09-22 14:49:50 +00:00
BrewTestBot
7cc51580ca
triage-issues.yml: update to match main configuration 2022-09-21 09:28:06 +00:00
dependabot[bot]
5e1f2d7a7a
build(deps): bump codecov/codecov-action from 3.1.0 to 3.1.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](81cd2dc814...d9f34f8cd5)

---
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>
2022-09-19 18:07:23 +00:00
Mike McQuaid
344d47accc
sponsors-maintainers-man-completions: various fixes.
- fix name
- use correct command
2022-09-08 12:19:13 +01:00
Mike McQuaid
04dfb9d4b8
Merge pull request #13820 from MikeMcQuaid/update-update-sponsors
update-sponsors: don't require admin token.
2022-09-08 11:14:49 +01:00
Mike McQuaid
8be9094622
sponsors-maintainers-man-completions: update sponsors too. 2022-09-08 10:45:15 +01:00
Bo Anderson
a0985191ea
Add messaging for Docker image deprecation 2022-09-07 13:26:08 +01:00
Shaun Jackman
0de4282511
CI: Use ubuntu-22.04 rather than ubuntu-latest (ubuntu-20.04)
Use ubuntu-22.04 for the CI tests rather than ubuntu-latest,
which is currently ubuntu-20.04.
2022-09-06 14:16:16 +01:00
Shaun Jackman
b01e0abcf8
Update LINUX_CI_OS_VERSION and related constants
- Change `LINUX_CI_OS_VERSION` from `Ubuntu 16.04` to `Ubuntu 22.04`
- Change `LINUX_GLIBC_CI_VERSION` from `2.23` to `2.35`
- Change `LINUX_GCC_CI_VERSION` from `5.0` to `11.0`
- Change `LINUX_PREFERRED_GCC_FORMULA` from `gcc@5` to `gcc@11`
- Build the Docker image `ghcr.io/homebrew/ubuntu22.04:master`
2022-09-06 14:16:16 +01:00
Mike McQuaid
9cfa3d9f2a
Merge pull request #13790 from MikeMcQuaid/all_deprecation
Deprecate reading all formulae through commands
2022-09-05 14:27:42 +01:00
Mike McQuaid
e2759fbdff
Deprecate reading all formulae through commands
We added the `--all` flag (now renamed to `--eval-all`) for various
commands for this behaviour so let's start deprecating this.

Also, introduce a `HOMEBREW_EVAL_ALL` environment variable to use the
existing, less secure, behaviour by default and avoid passing
`--eval-all` everywhere.
2022-09-05 13:57:22 +01:00
Mike McQuaid
56cca1edd3
.github/workflows: various fixes.
- don't try to `brew update-sponsors`, @BrewTestBot doesn't have
  `admin:org` rights, nor should they
- allow testing the `maintainers-man-completions` workflow on branches
- cache RubyGems for `brew generate-man-completions`
- add `workflow_dispatch` support to `spdx` workflow for easier testing
2022-09-05 13:27:50 +01:00
Mike McQuaid
af6165aab7
Automate sponsors updates
- Add sponsors updating to the existing man/completion/maintainer update workflow
- Hide/deprecated --fail-if-not-changed arguments and make them default behaviour
- Rename man-completions workflow to sponsors-maintainers-man-completions for consistency
- Make output and exit codes more consistent between these updating commands
- Fix maintainers updates not always being committed correctly
2022-09-02 08:24:33 +01:00
BrewTestBot
b56f95395b
triage-issues.yml: update to match main configuration 2022-07-18 16:16:31 +00:00
Rylan Polster
a64f04f678
Merge pull request #13464 from Homebrew/dependabot/github_actions/reitermarkus/rerun-workflow-1.2.2
build(deps): bump reitermarkus/rerun-workflow from 1.2.1 to 1.2.2
2022-06-23 10:31:40 -04:00
dependabot[bot]
b737c59cc2
build(deps): bump reitermarkus/rerun-workflow from 1.2.1 to 1.2.2
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](cd46218e13...c8d5bc3526)

---
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>
2022-06-22 22:30:31 +00:00
Rylan Polster
377159a6c9
workflows/triage: use PAT with read:org to indentify private members 2022-06-22 11:11:23 -04:00
Bo Anderson
96dfa631db
workflows/tests: drop Homebrew/linux-dev checks
Homebrew/linux-dev is effectively deprecated and is due for archival.
2022-06-17 19:47:58 +01:00
Bo Anderson
00932556bf
workflow/vendor-gems: re-add erroneously removed output 2022-05-17 20:04:24 +01:00
Bo Anderson
7e07f66e47
Use sorbet-static-and-runtime 2022-05-17 04:15:50 +01:00
Bo Anderson
b4f7dbcc2b
Merge pull request #13218 from Homebrew/docker-brew-22.04
workflows/docker: base homebrew/brew on 22.04
2022-04-29 22:03:07 +01:00
Bo Anderson
3ddcf765d2
workflows/docker: base homebrew/brew on 22.04
Also disable fail-fast so that if a image upload fails we don't stop the other uploads halfway.
2022-04-28 21:21:40 +01:00
Bo Anderson
f15ac65ced
workflows/docker: add OCI metadata 2022-04-27 03:38:57 +01:00
Bo Anderson
1baa340158
Merge pull request #13186 from Homebrew/jammy
workflows/docker: add 22.04
2022-04-26 22:04:17 +01:00
dependabot[bot]
06b583142d
build(deps): bump reitermarkus/rerun-workflow from 1.2.0 to 1.2.1
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](1845d3165c...cd46218e13)

---
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>
2022-04-25 18:02:56 +00:00
Dawid Dziurla
3e88dcb7f7
workflows/docker: add 22.04 2022-04-24 22:33:47 +02:00
dependabot[bot]
9a9704a96e
build(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](e3c560433a...81cd2dc814)

---
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>
2022-04-21 18:04:00 +00:00
Issy Long
6dd6758824
workflows/codeql: Improve branch triggers and remove fail-fast
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-04-18 15:17:17 +01:00
Issy Long
0016baa1cd
workflows/codeql: Don't run on schedule, and no need for a matrix
- These were the defaults generated when I clicked the "enable Code
  Scanning" button on GitHub, but...
- Since we only have Ruby in this repo, we don't need a matrix, we can
  just specify `languages: ruby`.
- And this repo gets enough usage that the schedule is not very useful -
  who would look at the scheduled run vs. it running every day on PRs?
2022-04-15 17:36:18 +01:00
Issy Long
266daffbd1
workflows: Add Code Scanning
- https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning
- I just joined the Code Scanning team at work and I figured I'd test out the actual product in the real world by seeing what things it points out for Homebrew, a reasonably large Ruby project.
- This adds a config file to exclude `Library/Homebrew/vendor` as we can't fix problems within gems. :-)
2022-04-15 15:24:49 +01:00
BrewTestBot
4428efeca6
triage-issues.yml: update to match main configuration 2022-04-12 16:11:25 +00:00
dependabot[bot]
f1dd00071a
build(deps): bump codecov/codecov-action from 2.1.0 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](f32b3a3741...e3c560433a)

---
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>
2022-04-05 18:03:50 +00:00