From 3c543d769786b5e410204741a405e6d2c03e1e32 Mon Sep 17 00:00:00 2001 From: "John M. Kuchta" Date: Wed, 7 Aug 2024 17:31:07 -0700 Subject: [PATCH] Update GitHub actions to use pipenv Using pipenv for GitHub actions requires updating the syntax, but the purpose of the actions otherwise remains the same. --- .github/workflows/publish-release.yml | 2 +- .github/workflows/test-library.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 46fb7dc..77fb595 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -24,7 +24,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pipenv + pip install --python 3.10 pipenv install build pipenv install wheel - name: Build a binary wheel and a source tarball diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index c0953bf..92dc342 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -57,7 +57,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install pipenv - pipenv install --deploy + pipenv install --python ${{ matrix.python-version }} pipenv install flake8 pytest - name: Lint with flake8 run: |