2121 # The type of runner that the job will run on
2222 strategy :
2323 matrix :
24- python-versions : ['3.7 ', '3.8 ', '3.9 ', '3.10 ']
24+ python-versions : ['3.8 ', '3.9 ', '3.10 ', '3.11 ']
2525 # github action doesn't goes well with windows due to docker support
2626 # github action doesn't goes well with macos due to `no docker command`
2727 # os: [ubuntu-20.04, windows-latest, macos-latest]
3737 # Steps represent a sequence of tasks that will be executed as part of the job
3838 steps :
3939 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
40- - uses : actions/checkout@v2
41- - uses : actions/setup-python@v2
40+ - uses : actions/checkout@v4
41+ - uses : actions/setup-python@v4
4242 with :
4343 python-version : ${{ matrix.python-versions }}
4444
@@ -51,10 +51,10 @@ jobs:
5151 - name : Declare variables for convenient use
5252 id : variables_step
5353 run : |
54- echo "::set-output name= repo_owner:: ${GITHUB_REPOSITORY%/*}"
55- echo "::set-output name= repo_name:: ${GITHUB_REPOSITORY#*/}"
56- echo "::set-output name= package_name:: `poetry version | awk '{print $1}'`"
57- echo "::set-output name= package_version:: `poetry version --short`"
54+ echo "repo_owner= ${GITHUB_REPOSITORY%/*}" >> $GITHUB_OUTPUT
55+ echo "repo_name= ${GITHUB_REPOSITORY#*/}" >> $GITHUB_OUTPUT
56+ echo "package_name= `poetry version | awk '{print $1}'`" >> $GITHUB_OUTPUT
57+ echo "package_version= `poetry version --short`" >> $GITHUB_OUTPUT
5858 shell : bash
5959
6060 - name : test with tox
@@ -66,10 +66,10 @@ jobs:
6666 # you may need to change os below
6767 runs-on : ubuntu-latest
6868 steps :
69- - uses : actions/checkout@v2
70- - uses : actions/setup-python@v2
69+ - uses : actions/checkout@v4
70+ - uses : actions/setup-python@v4
7171 with :
72- python-version : ' 3.9 '
72+ python-version : ' 3.11 '
7373
7474 - name : Install dependencies
7575 run : |
0 commit comments