Skip to content
Snippets Groups Projects
Commit d1ee3b61 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

refactor: update workflows & update.sh

parent 788bcd89
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@ jobs:
strategy:
max-parallel: 2
matrix:
ansible: ["9", "latest"]
ansible: ["9", "10"]
python: ["3.10", "3.12"]
steps:
- name: Check out the codebase
......@@ -33,7 +34,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "${{ matrix.python }}"
cache: "pip"
cache-dependency-path: .requirements/${{ matrix.ansible }}.txt
......
# Requirements for ansible 10
ansible >=10, <11
ansible-lint
# Requirements for ansible stable
# Requirements for ansible 9
ansible >=9, <10
ansible-lint
# Requirements for ansible latest
ansible
ansible-lint
......@@ -5,15 +5,13 @@ git \
https://github.com/dmitriysafronov/ansible_role-template.git \
.update
if [[ -s .update/update.list ]]; then
rsync -av \
--include=.github/ \
--include=.github/workflows/ \
--include=.github/workflows/lint.yaml \
--include=.requirements/* \
--include=update.sh \
--include-from=.update/update.list \
--exclude=* \
--delete-after \
.update/ \
./
fi
rm -rf .update/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment