Skip to content

Commit

Permalink
Merge pull request #2 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 cf93bc8 + 8eed80c commit bd08281
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
- name: lint
run: crystal tool format --check src/ spec/
- name: build
run: shards build --production
- name: test
run: crystal spec
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# pgp-wordlist

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

A simple library for converting sequences of bytes into unambiguous English words.

Uses the "official" word list: <https://philzimmermann.com/docs/PGP_word_list.pdf>
Expand Down

0 comments on commit bd08281

Please sign in to comment.