|
1 | 1 | name: macOS |
2 | 2 |
|
3 | 3 | # Run CI only when a release is created, on changes to main branch, or any PR |
4 | | -# to main. Do not run CI on any other branch. Also, skip any non-source changes |
5 | | -# from running on CI |
| 4 | +# to main. |
6 | 5 | on: |
7 | 6 | push: |
8 | 7 | branches: main |
9 | | - paths-ignore: |
10 | | - - 'docs/**' |
11 | | - - 'examples/**' |
12 | | - - '.gitignore' |
13 | | - - '*.rst' |
14 | | - - '*.md' |
15 | | - - '.github/workflows/*.yml' |
16 | | - # re-include current file to not be excluded |
17 | | - - '!.github/workflows/build-macos.yml' |
18 | 8 |
|
19 | 9 | pull_request: |
20 | 10 | branches: main |
21 | | - paths-ignore: |
22 | | - - 'docs/**' |
23 | | - - 'examples/**' |
24 | | - - '.gitignore' |
25 | | - - '*.rst' |
26 | | - - '*.md' |
27 | | - - '.github/workflows/*.yml' |
28 | | - # re-include current file to not be excluded |
29 | | - - '!.github/workflows/build-macos.yml' |
30 | 11 |
|
31 | 12 | # the github release drafter can call this workflow |
32 | 13 | workflow_call: |
|
51 | 32 |
|
52 | 33 | - name: Test for Mac Deps cache hit |
53 | 34 | id: macdep-cache |
54 | | - uses: actions/cache@v4.2.2 |
| 35 | + uses: actions/cache@v4.2.3 |
55 | 36 | with: |
56 | 37 | path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }} |
57 | 38 | # The hash of all files in buildconfig manylinux-build and macdependencies is |
@@ -118,26 +99,26 @@ jobs: |
118 | 99 | - uses: actions/checkout@v4.2.2 |
119 | 100 |
|
120 | 101 | - name: pip cache |
121 | | - uses: actions/cache@v4.2.2 |
| 102 | + uses: actions/cache@v4.2.3 |
122 | 103 | with: |
123 | 104 | path: ~/Library/Caches/pip # This cache path is only right on mac |
124 | 105 | key: pip-cache-${{ matrix.macarch }}-${{ matrix.os }} |
125 | 106 |
|
126 | 107 | - name: Fetch Mac deps |
127 | 108 | id: macdep-cache |
128 | | - uses: actions/cache@v4.2.2 |
| 109 | + uses: actions/cache@v4.2.3 |
129 | 110 | with: |
130 | 111 | path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }} |
131 | 112 | key: macdep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/macdependencies/*.sh') }}-${{ matrix.macarch }} |
132 | 113 | fail-on-cache-miss: true |
133 | 114 |
|
134 | 115 | - name: Install uv for speed |
135 | | - uses: astral-sh/setup-uv@v5 |
| 116 | + uses: astral-sh/setup-uv@v6 |
136 | 117 | with: |
137 | 118 | version: "0.5.26" |
138 | 119 |
|
139 | 120 | - name: Build and test wheels |
140 | | - uses: pypa/cibuildwheel@v2.23.0 |
| 121 | + uses: pypa/cibuildwheel@v2.23.2 |
141 | 122 |
|
142 | 123 | - uses: actions/upload-artifact@v4 |
143 | 124 | with: |
|
0 commit comments