Skip to content

Commit

Permalink
Update crystal.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija authored Dec 25, 2023
1 parent 3cd556f commit 8f9458d
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/crystal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

container:
image: crystallang/crystal

steps:
- uses: actions/checkout@v1
- name: Crystal Ameba Linter
id: crystal-ameba
uses: crystal-ameba/github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec
- name: Checkout source
uses: actions/checkout@v4

- name: Crystal Ameba Linter
uses: crystal-ameba/github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: shards install

- name: Run tests
run: crystal spec

0 comments on commit 8f9458d

Please sign in to comment.