monome / norns-community

norns project information, collected
52 stars 94 forks source link

freshen the CI pipeline for checking contributions #319

Open ngwese opened 3 days ago

ngwese commented 3 days ago

the GH pipeline for performing syntax checking / validation of catalog entries is using outdated pipeline components which are slated for deprecation. the task here is to vet the existing setup and update out of date bits.

ngwese commented 3 days ago

specifically the validate workflow

example:

Run docker://orrosenblatt/validate-json-action:latest
  env:
    INPUT_SCHEMA: catalog.schema.json
    INPUT_JSONS: base.json,community.json
/usr/bin/docker run --name orrosenblattvalidatejsonactionlatest_1d8c9d --label e54efb --workdir /github/workspace --rm -e "INPUT_SCHEMA" -e "INPUT_JSONS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/norns-community/norns-community":"/github/workspace" orrosenblatt/validate-json-action:latest
✓ /github/workspace/catalog.schema.json

✓ /github/workspace/base.json

✓ /github/workspace/community.json

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/[2](https://github.com/monome/norns-community/actions/runs/11671659643/job/32501803718#step:5:2)022-10-11-github-actions-deprecating-save-state-and-set-output-commands/