Skip to content

Commit

Permalink
Merge pull request #4 from woodruffw/ci
Browse files Browse the repository at this point in the history
ci: Add GitHub Actions
  • Loading branch information
woodruffw committed Mar 4, 2020
2 parents a86959d + 6c17fca commit 7d675d4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 12 * * *'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: deps
run: |
curl -sL "https://keybase.io/crystal/pgp_keys.asc" | sudo apt-key add -
echo "deb https://dist.crystal-lang.org/apt crystal main" | sudo tee /etc/apt/sources.list.d/crystal.list
sudo apt-get update
sudo apt install -y crystal libqrencode-dev
- name: lint
run: crystal tool format --check src/ spec/
- name: build
run: shards build --production
- name: test
run: crystal spec
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

0 comments on commit 7d675d4

Please sign in to comment.