forked from repo-mirrors/cnpg-postgres-containers
chore: update ubuntu and python versions (#61)
This commit is contained in:
committed by
GitHub
parent
9c8df435fb
commit
e7be7616c4
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -13,7 +13,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
generate-jobs:
|
generate-jobs:
|
||||||
name: Generate Jobs
|
name: Generate Jobs
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
outputs:
|
||||||
strategy: ${{ steps.generate-jobs.outputs.strategy }}
|
strategy: ${{ steps.generate-jobs.outputs.strategy }}
|
||||||
steps:
|
steps:
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
needs: generate-jobs
|
needs: generate-jobs
|
||||||
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
|
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
6
.github/workflows/update.yml
vendored
6
.github/workflows/update.yml
vendored
@@ -11,11 +11,15 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
name: Run update script
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.REPO_GHA_PAT }}
|
token: ${{ secrets.REPO_GHA_PAT }}
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
- name: Run update script
|
- name: Run update script
|
||||||
uses: nick-fields/retry@v2
|
uses: nick-fields/retry@v2
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user