Skip to content

Commit

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

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

jobs:
build:
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
- name: lint
run: crystal tool format --check src/
- name: build
run: shards build --production
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
@@ -1,5 +1,7 @@
# notify

[![Build Status](https://img.shields.io/github/workflow/status/woodruffw/notify.cr/CI/master)](https://github.com/woodruffw/notify.cr/actions?query=workflow%3ACI)

A Crystal library for
[Desktop Notifications](http://www.galago-project.org/specs/notification/0.9/index.html) compatible
notification daemons. Uses DBus internally.
Expand Down

0 comments on commit 969db8c

Please sign in to comment.