name: "Quality Check"

on:
  - push
  - pull_request

jobs:
  lint:
    name: "Linting"
    runs-on: stable
    container:
      image: "git.euph.dev/actions/runner-redot-4.3:latest"
    steps:
      - name: "Checkout"
        uses: "https://git.euph.dev/actions/checkout@v3"
      - name: "Check Linting"
        run: gdlint .
      - name: "Check Formatting"
        run: gdformat -c  -d .