Skip to content

refactor: prevent creation of rewards with no payout, but with high computational cost #2861

refactor: prevent creation of rewards with no payout, but with high computational cost

refactor: prevent creation of rewards with no payout, but with high computational cost #2861

Workflow file for this run

---
name: "Quality checks"
"on":
pull_request:
branches:
- master
- cosmicelevator
- palazzo
- colosseo
- colosseo_II
- suzukacastle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
yamllint:
name: "Yamllint"
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/[email protected]
- name: "Run Yamllint"
uses: ibiqlik/[email protected]
with:
config_file: .github/workflows/config/yamllintconfig.yml
spellcheck:
name: "Spellcheck"
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/[email protected]
- name: "Run PySpelling"
uses: rojopolis/[email protected]
with:
task_name: Markdown
markdownlint:
name: "Markdownlint"
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/[email protected]
- name: "Run Markdownlint"
uses: nosborn/[email protected]
with:
files: .
config_file: .github/workflows/config/markdownlint.json
ignore_path: .github/workflows/config/markdownlintignore
checkcodes:
name: "Approbation"
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/[email protected]
- name: Log in to the GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: "Run Check AC codes"
run: |
npx github:vegaprotocol/approbation check-codes --specs="{./non-protocol-specs/**/*.md,./protocol/**/*.md,./protocol/**/*.ipynb}"
- name: "Run Check file names"
run: |
npx github:vegaprotocol/approbation check-filenames --specs="{./non-protocol-specs/**/*.md,./protocol/**/*.md}"
- name: "Run Check Features"
run: |
npx github:vegaprotocol/approbation check-features --specs="{./non-protocol-specs/**/*.md,./protocol/**/*.md,./protocol/**/*.ipynb}" --features="./protocol/features.json"