Skip to content

Commit

Permalink
Use Ubuntu 22.04 in all jobs
Browse files Browse the repository at this point in the history
Trying to fix "No module named 'poetry'"
  • Loading branch information
juhoinkinen committed Apr 18, 2023
1 parent 0b95d9c commit ec29f85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:

lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: lint with isort, Black & flake8
steps:
- uses: actions/checkout@v3
Expand All @@ -37,7 +37,7 @@ jobs:
poetry run flake8
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 15
strategy:
matrix:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
publish-docker-latest:
name: publish latest Docker image
needs: [lint, test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 15
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
Expand All @@ -123,7 +123,7 @@ jobs:
publish-release:
name: publish release
needs: [lint, test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit ec29f85

Please sign in to comment.