Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml

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

2 changes: 1 addition & 1 deletion __tests__/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('Testing all functions in run file.', () => {
['arm', 'arm'],
['arm64', 'arm64'],
['x64', 'amd64']
])("getCuectlArch() must return on %s os architecture %s cuectl architecture", (osArch, cuectlVersion) => {
] as const)("getCuectlArch() must return on %s os architecture %s cuectl architecture", (osArch, cuectlVersion) => {
jest.spyOn(os, 'arch').mockReturnValue(osArch);

expect(run.getCuectlOSArchitecture()).toBe(cuectlVersion);
Expand Down
2 changes: 1 addition & 1 deletion action.cue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ action: github.#Action & {
color: "blue"
}
runs: {
using: "node20"
using: "node24"
main: "dist/index.js"
}
}
2 changes: 1 addition & 1 deletion action.yml

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

2 changes: 1 addition & 1 deletion ci_tool.cue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ command: vendorgithubschema: {
getActionJSONSchema: http.Get & {
// Tip link for humans:
// https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/github-action.json
url: "https://raw.githubusercontent.com/SchemaStore/schemastore/c3d4b35e7bbd40b2a95191e393f8c0bad340e97f/src/schemas/json/github-action.json"
url: "https://raw.githubusercontent.com/SchemaStore/schemastore/01e00802b38350cb7ec257b11c456639a5cd0acf/src/schemas/json/github-action.json"
}

importActionJSONSchema: exec.Run & {
Expand Down
17 changes: 10 additions & 7 deletions cue.mod/pkg/json.schemastore.org/github/github-action.cue

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

35 changes: 26 additions & 9 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "Apache 2.0",
"devDependencies": {
"@types/jest": "27.5.2",
"@types/node": "20.11.10",
"@types/node": "24.13.3",
"@types/semver": "7.3.13",
"@vercel/ncc": "0.33.4",
"jest": "29.0.0",
Expand Down
4 changes: 2 additions & 2 deletions workflows.cue
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ buildAndTest: github.#Workflow & {
uses: "actions/checkout@v4"
},
{
name: "Use node.js 20.x"
name: "Use node.js 24.x"
uses: "actions/setup-node@v4"
with: "node-version": 20
with: "node-version": 24
},
{
name: "Use CUE"
Expand Down
Loading