1
0
mirror of https://github.com/cmur2/kube-stale-resources.git synced 2024-12-22 12:54:25 +01:00

ci: update Python, Ubuntu, K8s and kind versions

This commit is contained in:
Christian Nicolai 2022-11-10 19:54:57 +01:00 committed by GitHub
parent 67a63b47a7
commit 965edbeff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,13 +10,13 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: '3.11'
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install poetry pip install poetry
@ -28,24 +28,23 @@ jobs:
e2e-with-kind: e2e-with-kind:
name: e2e with kind name: e2e with kind
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:
k8s-version: k8s-version:
- v1.21.12 - v1.22.15
- v1.22.9 - v1.23.13
- v1.23.6 - v1.24.7
- v1.24.3 - v1.25.3
- v1.25.0-beta.0
fail-fast: false fail-fast: false
env: env:
kind-version: v0.14.0 kind-version: v0.17.0
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: '3.11'
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install poetry pip install poetry
@ -63,7 +62,7 @@ jobs:
make e2e-with-kind make e2e-with-kind
actionlint: actionlint:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Check workflow files - name: Check workflow files
@ -73,7 +72,7 @@ jobs:
./actionlint ./actionlint
codeql: codeql:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with: