chore(deps): update camunda/infra-global-github-actions digest to bbc246e #586
Workflow file for this run
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: [main] | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint-global.yml | |
secrets: inherit | |
pre-commit-renovatejsonfile: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
# Required for pre-commit to work with Python referenced in .tool-versions for Ubuntu >= 24.04 | |
- name: Install SQLite dependency | |
run: sudo apt-get install -y libsqlite3-dev | |
# Setup tool cache | |
- name: Cache asdf installation | |
id: cache | |
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 | |
with: | |
path: | | |
/home/runner/.asdf | |
key: ${{ runner.os }}-tooling-${{ hashFiles('**/.tool-versions') }} | |
restore-keys: | | |
${{ runner.os }}-tooling- | |
- name: Install tooling using asdf | |
uses: asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3 | |
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 | |
name: Validate renovate5.json | |
with: | |
extra_args: --all-files --verbose | |
- name: Prepare for pre-commit | |
run: | | |
cp default.json5 .github/renovate.json5 # renovate-config-validator hook can only validate files that are called renovate.json5 | |
git add .github/renovate.json5 | |
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 | |
name: Validate default5.json | |
with: | |
extra_args: --all-files --verbose | |
- name: Revert default.json5 changes | |
run: | | |
git restore --staged .github/renovate.json5 | |
git restore .github/renovate.json5 |