Skip to content

Commit a6969e3

Browse files
committed
ci: fix test call in release action
1 parent 76d3132 commit a6969e3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/release.yaml

+3-6
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,17 @@ on:
77

88
jobs:
99
test:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
- uses: ./.github/workflows/unittest.yml
10+
uses: ./.github/workflows/unittest.yml
1411

1512
release:
1613
needs: test
1714
runs-on: ubuntu-latest
1815
steps:
1916
- uses: actions/checkout@v4
20-
- name: Set up Python 3.7
17+
- name: Set up Python 3.12
2118
uses: actions/setup-python@v5
2219
with:
23-
python-version: 3.7
20+
python-version: "3.12"
2421
- name: Install hatch
2522
run: pip install hatch
2623
- name: Build

.github/workflows/unittest.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- master
77
pull_request:
88
workflow_dispatch:
9+
workflow_call:
910

1011
jobs:
1112
build:

0 commit comments

Comments
 (0)