Skip to content

Commit

Permalink
fix validate action not running (#1) + test it
Browse files Browse the repository at this point in the history
  • Loading branch information
kineticwallet committed Aug 28, 2024
1 parent 54fe295 commit b1ea5b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,22 @@ on:
branches:
- master
paths:
- /*.json
- "*.json"
- "!*/**/*.json"
push:
branches:
- master
paths:
- /*.json
- "*.json"
- "!*/**/*.json"

jobs:
validate:
name: Validate
runs-on: ubuntu-latest
strategy:
matrix:
config_file: [aftman.json, foreman.json, renovate.json, roblox-ts.json, rokit.json]
config_name: [aftman.json, foreman.json, renovate.json, roblox-ts.json, rokit.json]
fail-fast: false
steps:
- name: Checkout repository.
Expand All @@ -28,7 +30,7 @@ jobs:
with:
path: ~/.npm
key: ${{ runner.os }}-npm
- name: Validate "${{ matrix.config_file }}" config.
- name: Validate "${{ matrix.config_name }}" config.
uses: suzuki-shunsuke/github-action-renovate-config-validator@v1.0.1
with:
config_file_path: ${{ matrix.config_file }}
config_file_path: ${{ matrix.config_name }}
2 changes: 1 addition & 1 deletion foreman.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": [
"config:recommended"
"config:base"
],
"customManagers": [
{
Expand Down
1 change: 0 additions & 1 deletion test.json

This file was deleted.

0 comments on commit b1ea5b0

Please sign in to comment.