From 6ea5542e04036a0406eef61eedae8de000e1d9b0 Mon Sep 17 00:00:00 2001 From: Meinte Boersma Date: Mon, 29 Jun 2026 17:51:13 +0200 Subject: [PATCH 1/2] bump versions in the most obvious way possible --- .github/workflows/build.yml | 6 +++--- .github/workflows/test.yml | 6 +++--- .github/workflows/update-meta-schemas.yml | 6 +++--- .idea/schema-validator-action.iml | 12 ++++-------- action.yml | 2 +- .../data/schemas/github-action.schema.json | 2 +- 6 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b488233..8c47d08 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,14 +11,14 @@ jobs: PACKED_JS_PATH: 'dist/index.js' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Extract branch name id: extractBranch shell: bash run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 20 + node-version: 24 - name: Install dependencies run: npm ci - name: Build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 881e3eb..edde411 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,12 +6,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ 20.x ] + node-version: [ 24.x ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/.github/workflows/update-meta-schemas.yml b/.github/workflows/update-meta-schemas.yml index d78827a..1d22cec 100644 --- a/.github/workflows/update-meta-schemas.yml +++ b/.github/workflows/update-meta-schemas.yml @@ -7,16 +7,16 @@ jobs: META_SCHEMAS_DIR: 'metaSchemas' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Extract branch name id: extractBranch shell: bash run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 20 + node-version: 24 - name: Install dependencies run: npm ci diff --git a/.idea/schema-validator-action.iml b/.idea/schema-validator-action.iml index 553f988..d6ebd48 100644 --- a/.idea/schema-validator-action.iml +++ b/.idea/schema-validator-action.iml @@ -1,12 +1,8 @@ - - - - - - - - + + + + diff --git a/action.yml b/action.yml index 68e79e5..e31c912 100644 --- a/action.yml +++ b/action.yml @@ -32,7 +32,7 @@ outputs: validation_error: description: 'Error during file validation' runs: - using: 'node20' + using: 'node24' main: 'dist/index.js' branding: icon: 'code' diff --git a/tests/integration/data/schemas/github-action.schema.json b/tests/integration/data/schemas/github-action.schema.json index 18e008c..fd6f7ae 100644 --- a/tests/integration/data/schemas/github-action.schema.json +++ b/tests/integration/data/schemas/github-action.schema.json @@ -32,7 +32,7 @@ "using": { "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing", "description": "The application used to execute the code specified in `main`.", - "enum": ["node12", "node16", "node20"] + "enum": ["node12", "node16", "node20", "node24"] }, "main": { "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsmain", From a0a0086553a0902b38e5530b502184d6f8b872b5 Mon Sep 17 00:00:00 2001 From: Meinte Boersma Date: Mon, 29 Jun 2026 17:59:57 +0200 Subject: [PATCH 2/2] "fix" running tests by reverting .runs -> 'node20' --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e31c912..68e79e5 100644 --- a/action.yml +++ b/action.yml @@ -32,7 +32,7 @@ outputs: validation_error: description: 'Error during file validation' runs: - using: 'node24' + using: 'node20' main: 'dist/index.js' branding: icon: 'code'