From 1485cbe100482401d19944aaf387f5182ee2fd79 Mon Sep 17 00:00:00 2001 From: Roxedus <7110194+Roxedus@users.noreply.github.com> Date: Mon, 29 Aug 2022 22:53:42 +0200 Subject: [PATCH 1/4] Bump Python --- .github/workflows/build.yml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 031a978..2a8d57c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.10 - name: Lint with flake8 run: | diff --git a/Dockerfile b/Dockerfile index 4ab1572..ba64bf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM amd64/python:3.8.3-alpine +FROM python:3.10.6-alpine LABEL maintainer="Roxedus" From 8805f308e28bce1ea827748a9b68554964570fe7 Mon Sep 17 00:00:00 2001 From: Roxedus <7110194+Roxedus@users.noreply.github.com> Date: Mon, 29 Aug 2022 23:30:00 +0200 Subject: [PATCH 2/4] Bump actions --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a8d57c..77a09f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - name: Set up Python 3.10 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4.2.0 with: python-version: 3.10 @@ -31,7 +31,7 @@ jobs: - name: Create Pull Request if: failure() - uses: peter-evans/create-pull-request@v2 + uses: peter-evans/create-pull-request@v4 with: token: ${{ secrets.GH_TOKEN }} branch: actions/auto From 49500b507e71235deea3d5294d469cfb7a163e60 Mon Sep 17 00:00:00 2001 From: Roxedus <7110194+Roxedus@users.noreply.github.com> Date: Mon, 29 Aug 2022 23:32:40 +0200 Subject: [PATCH 3/4] bruh --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77a09f2..9a7816c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v4.2.0 with: - python-version: 3.10 + python-version: 3.10.6 - name: Lint with flake8 run: | From 4a530d6ff0ecdafea9cbff7922061ac5e06a8e02 Mon Sep 17 00:00:00 2001 From: Roxedus <7110194+Roxedus@users.noreply.github.com> Date: Mon, 29 Aug 2022 23:39:52 +0200 Subject: [PATCH 4/4] Remove PR on failed isort --- .github/workflows/build.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a7816c..f398046 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,21 +24,6 @@ jobs: pip install isort isort --check --sp setup.cfg ${CheckFiles} - - name: Sort with Isort - if: failure() - run: | - isort --sp setup.cfg ${CheckFiles} - - - name: Create Pull Request - if: failure() - uses: peter-evans/create-pull-request@v4 - with: - token: ${{ secrets.GH_TOKEN }} - branch: actions/auto - commit-message: Changes done by tests - committer: Roxedus - title: Linter changed files - build-and-push: needs: flake8 runs-on: ubuntu-latest