Skip to content

Commit 8c91564

Browse files
authored
Merge pull request #1 from actions-ext/test
add test workflow
2 parents f75d471 + b296af4 commit 8c91564

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build Status
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
checks: write
16+
pull-requests: write
17+
18+
jobs:
19+
build:
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
matrix:
23+
os: [ubuntu-latest]
24+
python-version: [3.11]
25+
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- name: Prework
30+
run: touch pyproject.toml
31+
32+
- name: Setup Python
33+
uses: actions-ext/python/setup@v1
34+
with:
35+
version: '3.9'
36+
37+
- name: Setup Python
38+
uses: actions-ext/python/setup-cache@v1
39+
40+
- name: Setup cibuildwheel
41+
uses: actions-ext/python/setup-cibuildwheel@v1
42+
with:
43+
version: '3.9'
44+
45+
- name: Setup cibuildwheel caching
46+
uses: actions-ext/python/setup-cibuildwheel-cache@v1

setup-cibuildwheel-cache/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ inputs:
1717
runs:
1818
using: 'composite'
1919
steps:
20+
- name: Install platformdirs
21+
run: pip install -U platformdirs
22+
shell: bash
23+
2024
- name: Display cibuildwheel cache dir
2125
id: cibuildwheel-cache
2226
run: |

0 commit comments

Comments
 (0)