From 23cb3b9d71b38bde789a7086738ede012670e893 Mon Sep 17 00:00:00 2001 From: Marvin Ahlgrimm Date: Wed, 20 Mar 2024 14:51:11 +0100 Subject: [PATCH] Create qa.yml --- .github/workflows/qa.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/qa.yml diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml new file mode 100644 index 0000000..24c1a02 --- /dev/null +++ b/.github/workflows/qa.yml @@ -0,0 +1,23 @@ +name: QA + +on: + push: + branches: "*" + pull_request: + branches: "*" + schedule: + - cron: '0 0 * * *' + +jobs: + qa: + runs-on: ubuntu-latest + container: + image: crystallang/crystal:1.11.0 + steps: + - uses: actions/checkout@v1 + - name: Install shards + run: shards install --ignore-crystal-version + - name: Run crystal format tool + run: crystal tool format + - name: Run ameba + run: bin/ameba