OPSEXP-2870 Bump components for Libra release (#957) #2478
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 2 | |
- name: Set up Python | |
uses: ./.github/actions/setup-python | |
id: setup-python | |
- name: Install python packages | |
uses: Alfresco/alfresco-build-tools/.github/actions/pipenv@9d00215f539f669b41c7fabf7b88ccc8f316926c # v6.0.1 | |
with: | |
python-version: ${{ steps.setup-python.outputs.python-version }} | |
- name: Install and cache ansible galaxy dependencies | |
uses: ./.github/actions/galaxy | |
- name: Cache pre-commit | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
path: ~/.cache/pre-commit | |
key: ${{ runner.os }}-precommit-${{ hashFiles('.pre-commit-config.yaml') }} | |
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 |