diff --git a/.github/workflows/crystal.yml b/.github/workflows/crystal.yml index 6e021f7..6e56530 100644 --- a/.github/workflows/crystal.yml +++ b/.github/workflows/crystal.yml @@ -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