From: Daniel Wagner Date: Tue, 14 Jun 2022 09:44:59 +0000 (+0200) Subject: ci: add python version to setup-python environment X-Git-Tag: v2.1-rc0~34^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=037125001c255cb2e358b74a3de4a99e55a38523;p=users%2Fsagi%2Fnvme-cli.git ci: add python version to setup-python environment v4 of the setup-python helper wants to know the python version number. Signed-off-by: Daniel Wagner --- diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index deeeea73..6d675953 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -17,6 +17,8 @@ jobs: run: sudo apt-get install libjson-c-dev libhugetlbfs-dev - uses: actions/checkout@v3 - uses: actions/setup-python@v3 + with: + python-version: '3.x' # - name: install python dependencies # run: | # python -m pip install --upgrade pip @@ -33,6 +35,8 @@ jobs: run: sudo apt-get install -y libpam-dev libcap-ng-dev - uses: actions/checkout@v3 - uses: actions/setup-python@v3 + with: + python-version: '3.x' - uses: BSFishy/meson-build@v1.0.3 with: setup-options: --werror -Duuid:werror=false --wrap-mode=forcefallback @@ -47,6 +51,8 @@ jobs: run: sudo apt-get install -y libpam-dev libcap-ng-dev - uses: actions/checkout@v3 - uses: actions/setup-python@v3 + with: + python-version: '3.x' - uses: BSFishy/meson-build@v1.0.3 with: setup-options: --werror -Duuid:werror=false --wrap-mode=forcefallback --default-library=static