Skip to content

Commit 2b36429

Browse files
committed
Move Homebrew dependencies into Brewfile
1 parent d3b7b93 commit 2b36429

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/Brewfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
brew "gdbm"
2+
brew "make"
3+
brew "openssl@3.5"
4+
brew "pkg-config"
5+
brew "tcl-tk"
6+
brew "xz"

.github/workflows/reusable-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
3838
- name: Install Homebrew dependencies
3939
run: |
40-
brew install pkg-config openssl@3.5 xz gdbm tcl-tk@9 make
40+
brew bundle --file=.github/workflows/Brewfile
4141
# Because alternate versions are not symlinked into place by default:
4242
brew link --overwrite tcl-tk@9
4343
- name: Configure CPython

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ repos:
8585
exclude: Lib/test/tokenizedata/coding20731.py
8686
- id: end-of-file-fixer
8787
files: '^\.github/CODEOWNERS$'
88+
- id: file-contents-sorter
89+
files: '^\.github/workflows/Brewfile$'
8890
- id: trailing-whitespace
8991
types_or: [c, inc, python, rst, yaml]
9092
- id: trailing-whitespace

0 commit comments

Comments
 (0)