From e058412d36162b6727fb9ffff10e1880999fc85e Mon Sep 17 00:00:00 2001 From: y2k2mt Date: Tue, 15 Dec 2020 22:13:47 +0900 Subject: [PATCH] Hello Github Actions --- .github/workflows/crystal.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/crystal.yml diff --git a/.github/workflows/crystal.yml b/.github/workflows/crystal.yml new file mode 100644 index 0000000..15fea2d --- /dev/null +++ b/.github/workflows/crystal.yml @@ -0,0 +1,22 @@ +name: Crystal CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + container: + image: crystallang/crystal + + steps: + - uses: actions/checkout@v1 + - name: Install dependencies + run: shards install + - name: Code formatting + run: crystal tool format --check + - name: Code inspection with ameba + run: bin/ameba src + - name: Run specs + run: crystal spec -v