Skip to content

Commit 7c3f085

Browse files
committed
ci: clean up, speed up, and prettify CI jobs
1 parent d9f9ca4 commit 7c3f085

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/build_wheels.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on: [push, pull_request]
44

55
jobs:
66
make_sdist:
7+
name: Build source distribution
78
runs-on: ubuntu-latest
89
steps:
9-
- uses: actions/checkout@v3
10+
- name: Checkout
11+
uses: actions/checkout@v3
1012
with:
1113
fetch-depth: 0
1214

@@ -25,11 +27,15 @@ jobs:
2527
os: [ubuntu-20.04, windows-2019, macos-11]
2628

2729
steps:
28-
- uses: actions/checkout@v3
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
with:
33+
fetch-depth: 0
2934

3035
- name: Build wheels
3136
uses: pypa/[email protected]
3237

33-
- uses: actions/upload-artifact@v3
38+
- name: Upload
39+
uses: actions/upload-artifact@v3
3440
with:
3541
path: ./wheelhouse/*.whl

.github/workflows/tests.yml

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v3
11+
with:
12+
fetch-depth: 0
1113
- name: Install
1214
run: |
1315
sudo apt-get install sox ninja-build
@@ -23,6 +25,8 @@ jobs:
2325
steps:
2426
- name: Checkout
2527
uses: actions/checkout@v3
28+
with:
29+
fetch-depth: 0
2630
- name: Install
2731
run: |
2832
sudo apt-get install sox ninja-build
@@ -38,6 +42,8 @@ jobs:
3842
steps:
3943
- name: Checkout
4044
uses: actions/checkout@v3
45+
with:
46+
fetch-depth: 0
4147
- name: Install
4248
run: |
4349
sudo apt-get install sox

0 commit comments

Comments
 (0)