Skip to content

Merge pull request #10 from esl-epfl/docs/readme #8

Merge pull request #10 from esl-epfl/docs/readme

Merge pull request #10 from esl-epfl/docs/readme #8

Workflow file for this run

name: PR checks for algorithm submission
on:
pull_request:
paths:
- 'algorithms/*.yaml'
env:
IMAGE_NAME: ${{ github.repository }}-evaluator
jobs:
check_yaml:
container:
image: ghcr.io/${{ env.IMAGE_NAME }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- name: Convert yaml
run: yq -o json FILE.yaml > FILE.json
- name: Validate jsonschema
run: jsonschema-cli -i FILE.json SCHEMA.json
check_image:
steps:
- name: Pull image
run: docker pull $(sed 's/^image: \(.*\)$' FILE.yaml)

Check failure on line 30 in .github/workflows/pr-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-check.yml

Invalid workflow file

You have an error in your yaml syntax on line 30