Reference: - https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/main
@@ -10,7 +10,7 @@ on: | |||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-python@v2 | - uses: actions/setup-python@v2 | ||||
@@ -11,7 +11,7 @@ on: | |||||
jobs: | jobs: | ||||
test: | test: | ||||
name: Python ${{ matrix.python-version }} | name: Python ${{ matrix.python-version }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
strategy: | strategy: | ||||
matrix: | matrix: | ||||
python-version: | python-version: | ||||
@@ -10,7 +10,7 @@ on: | |||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- name: deploy containers | - name: deploy containers | ||||
@@ -12,7 +12,7 @@ on: | |||||
- "packages/lesspass-site/**" | - "packages/lesspass-site/**" | ||||
jobs: | jobs: | ||||
test-backend: | test-backend: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-python@v2 | - uses: actions/setup-python@v2 | ||||
@@ -24,7 +24,7 @@ jobs: | |||||
python -m pip install -r requirements.txt | python -m pip install -r requirements.txt | ||||
python manage.py test | python manage.py test | ||||
test-site: | test-site: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -33,7 +33,7 @@ jobs: | |||||
- run: yarn install | - run: yarn install | ||||
- run: yarn workspace lesspass-site test | - run: yarn workspace lesspass-site test | ||||
test-integration: | test-integration: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- run: | | - run: | | ||||
@@ -10,7 +10,7 @@ on: | |||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
- "packages/lesspass-crypto/**" | - "packages/lesspass-crypto/**" | ||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
- "packages/lesspass-entropy/**" | - "packages/lesspass-entropy/**" | ||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
- "packages/lesspass-fingerprint/**" | - "packages/lesspass-fingerprint/**" | ||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
- "packages/lesspass-pure/**" | - "packages/lesspass-pure/**" | ||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
jobs: | jobs: | ||||
publish: | publish: | ||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
- "packages/lesspass-render-password/**" | - "packages/lesspass-render-password/**" | ||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
- "packages/lesspass/**" | - "packages/lesspass/**" | ||||
jobs: | jobs: | ||||
test: | test: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||
@@ -10,7 +10,7 @@ on: | |||||
- "mobile/**" | - "mobile/**" | ||||
jobs: | jobs: | ||||
test-mobile: | test-mobile: | ||||
runs-on: ubuntu-18.04 | |||||
runs-on: ubuntu-20.04 | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-node@v2 | - uses: actions/setup-node@v2 | ||||