From 4f493150d2373305f41a45b060ab400aad1fcd44 Mon Sep 17 00:00:00 2001 From: Bodo Schulz Date: Wed, 1 Nov 2023 06:46:22 +0100 Subject: [PATCH] fix workflows --- .github/workflows/configured.yml | 7 +++++-- .github/workflows/main.yml | 13 +++++++++++-- .github/workflows/many-property-files.yml | 10 +++++----- .../workflows/multiple-container-with-filter.yml | 7 +++++-- .github/workflows/multiple-container.yml | 7 +++++-- .github/workflows/update-container.yml | 7 +++++-- .github/workflows/update-properties.yml | 7 +++++-- 7 files changed, 41 insertions(+), 17 deletions(-) diff --git a/.github/workflows/configured.yml b/.github/workflows/configured.yml index 9069ea9..1902590 100644 --- a/.github/workflows/configured.yml +++ b/.github/workflows/configured.yml @@ -21,7 +21,9 @@ jobs: fail-fast: false matrix: image: - - debian:11 + - debian:12 + python_version: + - "3.11.3" ansible-version: - '6.7' scenario: @@ -31,11 +33,12 @@ jobs: uses: actions/checkout@v3 with: path: 'ansible-container' + ref: ${{ github.event.workflow_run.head_branch }} - name: 🐍 set up python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "${{ matrix.python_version }}" - name: install dependencies run: | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 928263a..9fbeea2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,9 @@ jobs: matrix: image: - archlinux:latest + python_version: + - "3.10.11" + - "3.11.3" ansible-version: - '6.7' scenario: @@ -31,11 +34,12 @@ jobs: uses: actions/checkout@v3 with: path: 'ansible-container' + ref: ${{ github.event.workflow_run.head_branch }} - name: 🐍 set up python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "${{ matrix.python_version }}" - name: install dependencies run: | @@ -64,6 +68,10 @@ jobs: image: - debian:10 - debian:11 + - debian:12 + python_version: + - "3.10.11" + - "3.11.3" ansible-version: - '6.7' scenario: @@ -73,11 +81,12 @@ jobs: uses: actions/checkout@v3 with: path: 'ansible-container' + ref: ${{ github.event.workflow_run.head_branch }} - name: 🐍 set up python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "${{ matrix.python_version }}" - name: install dependencies run: | diff --git a/.github/workflows/many-property-files.yml b/.github/workflows/many-property-files.yml index 590951d..6d1361c 100644 --- a/.github/workflows/many-property-files.yml +++ b/.github/workflows/many-property-files.yml @@ -21,12 +21,11 @@ jobs: fail-fast: false matrix: image: - - debian:11 + - debian:12 ansible-version: - '6.7' - python: - # '3.x' - - '3.10' + python_version: + - "3.11.3" scenario: - many-properties @@ -35,11 +34,12 @@ jobs: uses: actions/checkout@v3 with: path: 'ansible-container' + ref: ${{ github.event.workflow_run.head_branch }} - name: 🐍 set up python uses: actions/setup-python@v4 with: - python-version: "${{ matrix.python }}" + python-version: "${{ matrix.python_version }}" - name: install dependencies run: | diff --git a/.github/workflows/multiple-container-with-filter.yml b/.github/workflows/multiple-container-with-filter.yml index 71cd65b..155734d 100644 --- a/.github/workflows/multiple-container-with-filter.yml +++ b/.github/workflows/multiple-container-with-filter.yml @@ -21,9 +21,11 @@ jobs: fail-fast: false matrix: image: - - debian:11 + - debian:12 ansible-version: - '6.7' + python_version: + - "3.11.3" scenario: - multiple-container-with-filter steps: @@ -31,11 +33,12 @@ jobs: uses: actions/checkout@v3 with: path: 'ansible-container' + ref: ${{ github.event.workflow_run.head_branch }} - name: 🐍 set up python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "${{ matrix.python_version }}" - name: install dependencies run: | diff --git a/.github/workflows/multiple-container.yml b/.github/workflows/multiple-container.yml index 3c3fc53..53af1cf 100644 --- a/.github/workflows/multiple-container.yml +++ b/.github/workflows/multiple-container.yml @@ -21,9 +21,11 @@ jobs: fail-fast: false matrix: image: - - debian:11 + - debian:12 ansible-version: - '6.7' + python_version: + - "3.11.3" scenario: - multiple-container steps: @@ -31,11 +33,12 @@ jobs: uses: actions/checkout@v3 with: path: 'ansible-container' + ref: ${{ github.event.workflow_run.head_branch }} - name: 🐍 set up python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "${{ matrix.python_version }}" - name: install dependencies run: | diff --git a/.github/workflows/update-container.yml b/.github/workflows/update-container.yml index 69a5cfc..a8793e7 100644 --- a/.github/workflows/update-container.yml +++ b/.github/workflows/update-container.yml @@ -21,9 +21,11 @@ jobs: fail-fast: false matrix: image: - - debian:11 + - debian:12 ansible-version: - '6.7' + python_version: + - "3.11.3" scenario: - update-container steps: @@ -31,11 +33,12 @@ jobs: uses: actions/checkout@v3 with: path: 'ansible-container' + ref: ${{ github.event.workflow_run.head_branch }} - name: 🐍 set up python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "${{ matrix.python_version }}" - name: install dependencies run: | diff --git a/.github/workflows/update-properties.yml b/.github/workflows/update-properties.yml index 12b0ab0..db2e2f3 100644 --- a/.github/workflows/update-properties.yml +++ b/.github/workflows/update-properties.yml @@ -21,9 +21,11 @@ jobs: fail-fast: false matrix: image: - - debian:11 + - debian:12 ansible-version: - '6.7' + python_version: + - "3.11.3" scenario: - update-properties steps: @@ -31,11 +33,12 @@ jobs: uses: actions/checkout@v3 with: path: 'ansible-container' + ref: ${{ github.event.workflow_run.head_branch }} - name: 🐍 set up python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "${{ matrix.python_version }}" - name: install dependencies run: |