smartcontractkit / smartcontractkit/chainlink-cosmos

Enable 'cargo schema' checks in '.github/workflows/contracts.yml'

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

@archseer is already working on this.

Since Dec 29, 2021.

Dominant language
Go
Stars
23
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Consider this extracted snippet:

      # TODO: we should check
      # CHANGES_IN_REPO=$(git status --porcelain)
      # after this, but I don't know how
      # - name: Generate Schema
      #   run: nix develop -c cargo schema --locked

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .github/workflows/contracts.yml and inspect the commented cargo schema command and TODO about checking git status. Run the existing workflow context needed for nix develop -c cargo schema --locked, then determine how generated changes should be detected; done means the workflow performs the schema check and reports unexpected changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.