Skip to content

Commit a6fa1d2

Browse files
samiiblhercot
authored andcommitted
[ignore] Update actions in other workflows and update ansible versions
1 parent 2792ad9 commit a6fa1d2

File tree

3 files changed

+24
-20
lines changed

3 files changed

+24
-20
lines changed

.github/workflows/ansible-test.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
ansible: [v2.14.13, v2.15.8, v2.16.2, stable-2.16]
18+
ansible: [v2.14.16, v2.15.11, v2.16.6, stable-2.16, stable-2.17]
1919
steps:
2020
- name: Check out code
2121
uses: actions/checkout@v4
@@ -60,19 +60,22 @@ jobs:
6060
- build
6161
- black-formating
6262
runs-on: ubuntu-latest
63+
strategy:
64+
matrix:
65+
ansible: [stable-2.17]
6366
steps:
6467
- name: Set up Python ${{ env.python_version }}
6568
uses: actions/setup-python@v5
6669
with:
6770
python-version: ${{ env.python_version }}
6871

69-
- name: Install ansible-base (v2.15.8)
70-
run: pip install https://github.com/ansible/ansible/archive/v2.15.8.tar.gz --disable-pip-version-check
72+
- name: Install ansible-base (${{ matrix.ansible }})
73+
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
7174

7275
- name: Download migrated collection artifacts
7376
uses: actions/download-artifact@v4
7477
with:
75-
name: collection-stable-2.16
78+
name: collection-${{ matrix.ansible }}
7679
path: .cache/collection-tarballs
7780

7881
- name: Install the collection tarball
@@ -105,7 +108,6 @@ jobs:
105108
name: galaxy-importer-log
106109
path: .cache/collection-tarballs/importer_result.json
107110

108-
109111
sanity:
110112
name: Sanity in ubuntu-latest
111113
needs:
@@ -114,7 +116,7 @@ jobs:
114116
strategy:
115117
fail-fast: false
116118
matrix:
117-
ansible: [v2.14.13, v2.15.8, v2.16.2, stable-2.16]
119+
ansible: [v2.14.16, v2.15.11, v2.16.6, stable-2.16, stable-2.17]
118120
steps:
119121
- name: Set up Python ${{ env.python_version }}
120122
uses: actions/setup-python@v5
@@ -158,13 +160,12 @@ jobs:
158160
strategy:
159161
fail-fast: false
160162
matrix:
161-
ansible: [v2.14.13, v2.15.8, v2.16.2, stable-2.16]
162-
python-version: ['3.10']
163+
ansible: [v2.14.16, v2.15.11, v2.16.6, stable-2.16, stable-2.17]
163164
steps:
164-
- name: Set up Python ${{ matrix.python-version }}
165+
- name: Set up Python ${{ env.python_version }}
165166
uses: actions/setup-python@v5
166167
with:
167-
python-version: ${{ matrix.python-version }}
168+
python-version: ${{ env.python_version }}
168169

169170
- name: Install ansible-base (${{ matrix.ansible }})
170171
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
@@ -182,7 +183,7 @@ jobs:
182183
run: ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz
183184

184185
# - name: Run unit tests
185-
# run: ansible-test units --docker -v --color --truncate 0 --python ${{ matrix.python-version }} --coverage
186+
# run: ansible-test units --docker -v --color --truncate 0 --python ${{ env.python_version }} --coverage
186187
# working-directory: /home/runner/.ansible/collections/ansible_collections/cisco/aci
187188

188189
# - name: Generate coverage report.
@@ -199,6 +200,9 @@ jobs:
199200
# - units
200201
- sanity
201202
runs-on: ubuntu-latest
203+
strategy:
204+
matrix:
205+
ansible: [stable-2.17]
202206
env:
203207
MUTEX_URL: https://8v7s765ibh.execute-api.us-west-1.amazonaws.com
204208
steps:
@@ -207,16 +211,16 @@ jobs:
207211
with:
208212
python-version: ${{ env.python_version }}
209213

210-
- name: Install ansible-base (v2.15.8)
211-
run: pip install https://github.com/ansible/ansible/archive/v2.15.8.tar.gz --disable-pip-version-check
214+
- name: Install ansible-base (${{ matrix.ansible }})
215+
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
212216

213217
- name: Install coverage (v4.5.4)
214218
run: pip install coverage==4.5.4
215219

216220
- name: Download migrated collection artifacts
217221
uses: actions/download-artifact@v4
218222
with:
219-
name: collection-stable-2.16
223+
name: collection-${{ matrix.ansible }}
220224
path: .cache/collection-tarballs
221225

222226
- name: Install the collection tarball

.github/workflows/changelog-generation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out script code
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
repository: ciscoecosystem/release_script
1414
path: ./release_script
1515

1616
- name: Check out collection code
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
path: ./collection
2020

2121
- name: Set up Python 3.9
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: 3.9
2525

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v2
32+
uses: github/codeql-action/init@v3
3333
with:
3434
languages: ${{ matrix.language }}
3535
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -41,4 +41,4 @@ jobs:
4141
# queries: security-extended,security-and-quality
4242

4343
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@v2
44+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)