@@ -29,16 +29,18 @@ jobs:
2929 - " 3.8"
3030 - " 3.9"
3131 - " 3.10"
32- - " 3.11.0-beta.4"
33- - " pypy2"
34- - " pypy-3.7"
32+ - " 3.11.0-beta.5"
33+ - " pypy3.9"
3534 exclude :
3635 - os : macos-latest
3736 python-version : pypy3
3837
3938 steps :
40- - uses : " actions/checkout@v2"
41- - uses : " actions/setup-python@v2"
39+ - uses : " actions/checkout@v3"
40+ with :
41+ # We want our tags here
42+ fetch-depth : 0
43+ - uses : " actions/setup-python@v4"
4244 with :
4345 python-version : " ${{ matrix.python-version }}"
4446 - name : " Install dependencies"
6365 - tests
6466 runs-on : ubuntu-latest
6567 steps :
66- - uses : actions/checkout@v2
67- - uses : actions/setup-python@v2
68+ - uses : actions/checkout@v3
69+ - uses : actions/setup-python@v4
6870 with :
6971 python-version : " 3.10"
7072
@@ -98,8 +100,11 @@ jobs:
98100 runs-on : " ubuntu-latest"
99101
100102 steps :
101- - uses : " actions/checkout@v2"
102- - uses : " actions/setup-python@v1"
103+ - uses : " actions/checkout@v3"
104+ with :
105+ # We want our tags here
106+ fetch-depth : 0
107+ - uses : " actions/setup-python@v4"
103108 with :
104109 python-version : " 3.10"
105110
@@ -109,6 +114,7 @@ jobs:
109114 if : " ${{ env.TEST_PYPI_API_TOKEN != '' }}"
110115 run : |
111116 echo "DO_PUBLISH=yes" >> $GITHUB_ENV
117+ echo "SETUPTOOLS_SCM_PRETEND_VERSION=0.0.1" >> $GITHUB_ENV
112118
113119 - name : " Install pep517 and twine"
114120 run : " python -m pip install pep517 twine"
@@ -136,10 +142,10 @@ jobs:
136142 runs-on : " ${{ matrix.os }}"
137143
138144 steps :
139- - uses : " actions/checkout@v2 "
140- - uses : " actions/setup-python@v2 "
145+ - uses : " actions/checkout@v3 "
146+ - uses : " actions/setup-python@v4 "
141147 with :
142- python-version : " 3.9 "
148+ python-version : " 3.10 "
143149 - name : " Install in dev mode"
144150 run : " python -m pip install -e .[dev]"
145151 - name : " Import package"
0 commit comments