diff --git a/poetry_snakemake_plugin/templates/ci.yml.j2 b/poetry_snakemake_plugin/templates/ci.yml.j2 index 4df8c71..f307fb8 100644 --- a/poetry_snakemake_plugin/templates/ci.yml.j2 +++ b/poetry_snakemake_plugin/templates/ci.yml.j2 @@ -13,15 +13,19 @@ jobs: - name: Check out the code uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.11" + - name: Install poetry - run: pipx install poetry + run: pip install poetry - name: Determine dependencies run: poetry lock - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" cache: poetry - name: Install Dependencies using Poetry @@ -36,15 +40,19 @@ jobs: - name: Check out the code uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.11" + - name: Install poetry - run: pipx install poetry + run: pip install poetry - name: Determine dependencies run: poetry lock - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" cache: poetry - name: Install Dependencies using Poetry @@ -58,15 +66,19 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.11" + - name: Install poetry - run: pipx install poetry + run: pip install poetry - name: Determine dependencies run: poetry lock - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" cache: poetry - name: Install dependencies diff --git a/poetry_snakemake_plugin/templates/release_please.yml.j2 b/poetry_snakemake_plugin/templates/release_please.yml.j2 index 751bc45..830c5ca 100644 --- a/poetry_snakemake_plugin/templates/release_please.yml.j2 +++ b/poetry_snakemake_plugin/templates/release_please.yml.j2 @@ -24,26 +24,21 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" - name: Install poetry - run: pipx install poetry + run: pip install poetry - name: Determine dependencies run: poetry lock - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" cache: poetry - - name: Install Dependencies using Poetry - run: | - pip install connection-pool # because it is incompatible with poetry - poetry install - - name: Publish to PyPi env: PYPI_USERNAME: __token__