chore(deps): update actions/cache action to v4.2.0 #171
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: Renovate config validator | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
LOG_LEVEL: debug | |
jobs: | |
validate-config: | |
name: Validate Renovate config | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Node.js environment | |
id: setup-node | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: lts/* | |
- name: Get npm cache directory | |
id: npm-cache-dir | |
shell: bash | |
run: echo "dir=$(npm --global config get cache)" >> ${GITHUB_OUTPUT} | |
- name: Get npm renovate version | |
id: npm-renovate-version | |
shell: bash | |
run: echo "renovate-version=$(npm view renovate version)" >> ${GITHUB_OUTPUT} | |
- name: global npm cache | |
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 | |
with: | |
path: ${{ steps.npm-cache-dir.outputs.dir }} | |
key: ${{ runner.os }}-node-${{ steps.setup-node.outputs.node-version }}-renovate-${{ steps.npm-renovate-version.outputs.renovate-version }} | |
- name: Run renovate-config-validator | |
run: >- | |
npx -p renovate -c | |
'renovate-config-validator | |
renovate.json | |
base.json | |
default.json | |
renovate-config.json | |
frontend.json | |
automerge.json | |
dependencyLocking.json | |
action.json | |
' |