File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
name : Run tests on lowest supported Python version on Ubuntu as a sanity-check before doing anything else
13
13
steps :
14
- - name : Checkout main branch
14
+ - name : Checkout current branch
15
15
uses : actions/checkout@v4
16
16
with :
17
- ref : main
17
+ ref : ${{ github.ref_name }}
18
18
- uses : actions/setup-python@v5
19
19
with :
20
20
python-version : ' 3.9'
@@ -27,10 +27,10 @@ jobs:
27
27
name : Run all tests, run static type analysis, coverage, and mutation tests
28
28
needs : sanity-run
29
29
steps :
30
- - name : Checkout main branch
30
+ - name : Checkout current branch
31
31
uses : actions/checkout@v4
32
32
with :
33
- ref : main
33
+ ref : ${{ github.ref_name }}
34
34
- uses : actions/setup-python@v5
35
35
with :
36
36
python-version : ' 3.12'
@@ -56,10 +56,10 @@ jobs:
56
56
- os : ubuntu-latest
57
57
env : ' 3.12'
58
58
steps :
59
- - name : Checkout main branch
59
+ - name : Checkout current branch
60
60
uses : actions/checkout@v4
61
61
with :
62
- ref : main
62
+ ref : ${{ github.ref_name }}
63
63
- uses : actions/setup-python@v5
64
64
with :
65
65
python-version : ${{ matrix.env }}
You can’t perform that action at this time.
0 commit comments