Skip to content

Add Concept Exercise Metadata files: the-realm-of-echoes (#326) #658

Add Concept Exercise Metadata files: the-realm-of-echoes (#326)

Add Concept Exercise Metadata files: the-realm-of-echoes (#326) #658

Workflow file for this run

# This workflow will do a clean install of the dependencies and run tests across different versions
name: Verify
# Run this workflow every time a new commit is pushed to the repository
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
schedule:
# Weekly.
- cron: "0 0 * * 0"
jobs:
# borrowed from https://raw.githubusercontent.com/exercism/github-actions/main/.github/workflows/shellcheck.yml
shellcheck:
name: Run shellcheck on scripts
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Run shellcheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
build:
name: Build and test
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Fetch origin/main
run: git fetch --depth=1 origin main
- name: Getting scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.9.2"
- name: Verify all exercises
env:
DENYWARNINGS: "1"
run: bin/verify-exercises
format:
name: Format Cairo files
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Getting scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.9.2"
- name: Format
run: ./bin/format_exercises.sh --check
- name: Diff
run: |
if ! git diff --color --exit-code; then
echo "Please run cargo fmt, or see the diff above:"
exit 1
fi