diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9f97a87f..693562b4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,11 +9,13 @@ on: jobs: dockerhub: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: ${{ github.repository == 'smarkets/marge-bot' }} # Only run from main repo steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' - name: Dockerize run: make dockerize - name: Deploy to DockerHub diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 514b5161..39b85565 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,6 @@ jobs: strategy: matrix: python-version: - - '3.7' - '3.8' - '3.9' - '3.10' @@ -41,7 +40,6 @@ jobs: strategy: matrix: python-version: - - '3.7' - '3.8' - '3.9' - '3.10' diff --git a/pyproject.toml b/pyproject.toml index 5127fd6c..ea991ec5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ repository = "https://github.com/hiboxsystems/marge-bot" keywords = ["merge request", "gitlab"] [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" ConfigArgParse = "^1.3" maya = "^0.6.1" PyYAML = "~5.3.1"