fix: use semver-coerce for actions #344
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: test | |
on: | |
push: | |
env: | |
LOG_LEVEL: debug | |
RENOVATE_VERSION: 37.128.6 # renovate: datasource=npm depName=renovate | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
file: | |
- default | |
- automergePatch | |
- automergeDigest | |
- fixes | |
# - meta -> soureUrl not valid | |
- shared | |
- groups | |
- replacements | |
- ng | |
- vo | |
env: | |
RENOVATE_CONFIG_FILE: ${{ matrix.file }}.json | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
show-progress: false | |
- name: testing ${{ matrix.file }} | |
run: npx -p renovate@${{env.RENOVATE_VERSION}} renovate-config-validator | |
test-success: | |
runs-on: ubuntu-latest | |
needs: | |
- test | |
timeout-minutes: 1 | |
if: always() | |
steps: | |
- name: Fail for failed or cancelled tests | |
if: | | |
needs.test.result == 'failure' || | |
needs.test.result == 'cancelled' | |
run: exit 1 |