aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-09-10 23:35:24 +0100
committerGravatar Chris Lovering <[email protected]>2022-09-11 00:50:47 +0100
commit1c1a99b02998d7146a651da54c4343f98c912c95 (patch)
tree47b188a823f151ef64a4ef16bedcdf43edd325eb
parentUse venvs with poetry in Dockerfile (diff)
Remove CI env vars
These are fully handled by HassanAbouelela/actions/setup-python now
-rw-r--r--.github/workflows/lint-build-deploy.yaml25
1 files changed, 2 insertions, 23 deletions
diff --git a/.github/workflows/lint-build-deploy.yaml b/.github/workflows/lint-build-deploy.yaml
index eb2bbd7..e39a4ac 100644
--- a/.github/workflows/lint-build-deploy.yaml
+++ b/.github/workflows/lint-build-deploy.yaml
@@ -14,37 +14,16 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
- env:
- # Configure pip and poetry to cache dependencies and do an unattended venv install
- PIP_NO_CACHE_DIR: 1
- PIP_DISABLE_PIP_VERSION_CHECK: true
- POETRY_VIRTUALENVS_IN_PROJECT: true
- POETRY_NO_INTERACTION: true
-
- # Specify explicit paths for python dependencies and the pre-commit
- # environment so we know which directories to cache
- POETRY_CACHE_DIR: ${{ github.workspace }}/.cache/py-user-base
- PYTHONUSERBASE: ${{ github.workspace }}/.cache/py-user-base
- PRE_COMMIT_HOME: ${{ github.workspace }}/.cache/pre-commit-cache
-
- # See https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
- # for why we set this.
- SETUPTOOLS_USE_DISTUTILS: stdlib
-
steps:
- - name: Add custom PYTHONUSERBASE to PATH
- run: echo '${{ env.PYTHONUSERBASE }}/bin/' >> $GITHUB_PATH
-
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Python Dependencies
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.0
+ uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1
with:
# Set dev=true to install flake8 extensions, which are dev dependencies
dev: true
python_version: '3.10'
- poetry_version: 'poetry==1.2.0'
# Run flake8 and have it format the linting errors in the format of
# the GitHub Workflow command to register error annotations. This
@@ -166,4 +145,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: pull-request-payload
- path: pull_request_payload.json \ No newline at end of file
+ path: pull_request_payload.json