File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22name : Ansible Galaxy
3+
34on :
45 push :
56 branches :
@@ -16,20 +17,24 @@ jobs:
1617 - uses : actions/checkout@v4
1718 with :
1819 submodules : recursive
19- - name : Set up Python ${{ matrix.python-version }}
20+
21+ - name : Set up Python
2022 uses : actions/setup-python@v4
2123 with :
22- python-version : ${{ matrix.python-version }}
24+ python-version : ' 3.11'
25+
2326 - uses : actions/cache@v4
2427 with :
2528 path : ~/.cache/pip
2629 key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
2730 restore-keys : |
2831 ${{ runner.os }}-pip-
32+
2933 - name : Install dependencies
3034 run : |
3135 python -m pip install --upgrade pip
3236 pip install -r requirements.txt -r requirements-dev.txt
3337 pip install pre-commit
38+
3439 - name : Trigger a new import on Galaxy.
3540 run : ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
You can’t perform that action at this time.
0 commit comments