From f7d638f6e348f3f0bbffe445e80be7bed1074e98 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 15 Oct 2020 17:21:25 -0700 Subject: [PATCH] Use Python 3.8.6 in CI and Docker container The `actions/setup-python` action used to install Python for use in the CI workflows no longer offers Python 3.8.5, which caused the CI to fail. The action should use the same version of Python it's tested with, so I have also updated the action's Docker image to `python:3.8.6`. --- .github/workflows/lint-python.yml | 2 +- .github/workflows/test-python.yml | 2 +- Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-python.yml b/.github/workflows/lint-python.yml index e60f9c6e..17da1fca 100644 --- a/.github/workflows/lint-python.yml +++ b/.github/workflows/lint-python.yml @@ -35,7 +35,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: '3.8.5' + python-version: '3.8.6' - name: Install flake8 run: | diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 46d3f893..a2658145 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -40,7 +40,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: '3.8.5' + python-version: '3.8.6' - name: Install dependencies run: | diff --git a/Dockerfile b/Dockerfile index 54d814e9..45164514 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8.5 +FROM python:3.8.6 # Copies your code file from your action repository to the filesystem path `/` of the container COPY compilesketches /compilesketches