diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index c8cfd87..8f85763 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v5 with: path: collections/ansible_collections/kewlfft/aur @@ -26,22 +26,10 @@ jobs: echo ::set-output name=version::$(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF}) - name: "Set up Python" - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: "3.11" - - - name: Generate cache keys - id: keys - run: | - echo ::set-output name=pip_cache_dir::$(pip cache dir) - # This ensures that the cache is invalidated after a week - echo ::set-output name=date::$(date +%Y_%g) - - - name: Pip Cache - uses: actions/cache@v2 - with: - path: ${{ steps.keys.outputs.pip_cache_dir }} - key: ansible-pip-${{ steps.keys.outputs.date }} + python-version: "3.13" + cache: 'pip' - name: Install pip packages run: |