-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (30 loc) · 704 Bytes
/
ci.yml
File metadata and controls
39 lines (30 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
checks: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- name: Install Ameba
uses: crystal-ameba/github-action@v0.8.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Format
run: crystal tool format --check
# - name: Install Dependencies
# run: shards install --skip-postinstall
# - name: Run Specs
# run: crystal spec