Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to node20 #35

Merged
merged 5 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/acceptance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Need to checkout for testing the Action in this repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# creates invalid files that are excluded by git and should not fail
- name: invalid file creation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: 'npm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: 'npm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.9.0
20.6.0
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ outputs:
success:
description: Whether or not the validation was successful for all files - "true" or "false"
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
61 changes: 36 additions & 25 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/acceptance-test-results.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package-lock.json is valid
package.json is valid
dist/schema.json is valid
skipping due to exclude match: tmp/invalid.json
skipping due to exclude match: __tests__/fixtures/schemas/challenge.json
skipping due to exclude match: __tests__/fixtures/schemas/schema1.json
skipping due to exclude match: __tests__/fixtures/schemas/schema2.json
skipping due to exclude match: __tests__/fixtures/json/invalid/json1.json
Expand All @@ -26,6 +27,7 @@ skipping due to exclude match: tmp/invalid.yaml
.github/workflows/test.yml is valid
skipping due to exclude match: __tests__/fixtures/schemas/schema1.yaml
skipping due to exclude match: __tests__/fixtures/schemas/schema2.yml
skipping due to exclude match: __tests__/fixtures/real_world/challenges/challenge.yml
skipping due to exclude match: __tests__/fixtures/yaml/invalid/skip-bad.yaml
skipping due to exclude match: __tests__/fixtures/yaml/invalid/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml/mixture/yaml1.yaml
Expand Down
Loading