Skip to content

Commit

Permalink
Update action files
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon committed Feb 18, 2021
1 parent 1c1f2b6 commit d580bf8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/crystal.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
name: Specs

on: [push]
on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

container:
image: crystallang/crystal

strategy:
matrix:
crystal-version: [0.36.1]
steps:
- uses: actions/checkout@v2
- uses: oprypin/install-crystal@v1
with:
crystal: ${{ matrix.crystal-version }}
- name: Install dependencies
run: shards install
- name: Format code
run: crystal tool format --check
- name: Run tests
run: crystal spec
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
strategy:
matrix:
python-version: [3.8]
crystal-version: [0.36.1]

container:
image: crystallang/crystal

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- uses: oprypin/install-crystal@v1
with:
crystal: ${{ matrix.crystal-version }}
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python Dependencies
Expand Down

0 comments on commit d580bf8

Please sign in to comment.