Skip to content

Commit

Permalink
Merge pull request #4 from Sija/develop
Browse files Browse the repository at this point in the history
v2.0.1
  • Loading branch information
Sija authored Apr 3, 2021
2 parents 415f590 + 0f3eae6 commit 03c9fb5
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 22 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
pull_request:
schedule:
- cron: "0 3 * * 1" # Every monday at 3 AM

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
crystal: [latest, nightly]
runs-on: ${{ matrix.os }}

steps:
- name: Install Crystal
uses: oprypin/install-crystal@v1
with:
crystal: ${{ matrix.crystal }}

- name: Download source
uses: actions/checkout@v2

- name: Install dependencies
run: shards install
env:
SHARDS_OPTS: --ignore-crystal-version

- name: Run specs
run: crystal spec

- name: Run specs (DEBUG=1)
run: crystal spec
env:
DEBUG: "1"

- name: Check formatting
run: crystal tool format --check

- name: Run ameba linter
run: bin/ameba
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `debug!(…)`

[![Build Status](https://travis-ci.com/Sija/debug.cr.svg?branch=master)](https://travis-ci.com/Sija/debug.cr) [![Releases](https://img.shields.io/github/release/Sija/debug.cr.svg)](https://github.com/Sija/debug.cr/releases) [![License](https://img.shields.io/github/license/Sija/debug.cr.svg)](https://github.com/Sija/debug.cr/blob/master/LICENSE)
[![CI](https://github.com/Sija/debug.cr/actions/workflows/ci.yml/badge.svg)](https://github.com/Sija/debug.cr/actions/workflows/ci.yml) [![Releases](https://img.shields.io/github/release/Sija/debug.cr.svg)](https://github.com/Sija/debug.cr/releases) [![License](https://img.shields.io/github/license/Sija/debug.cr.svg)](https://github.com/Sija/debug.cr/blob/master/LICENSE)

*A macro for `puts`-style debugging fans.*

Expand Down
6 changes: 3 additions & 3 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: debug
version: 2.0.0
version: 2.0.1

authors:
- Sijawusz Pur Rahnama <[email protected]>

development_dependencies:
ameba:
github: crystal-ameba/ameba
version: ~> 0.13.0
version: ~> 0.14.0

crystal: 0.35.0
crystal: ">= 0.35.1"

license: MIT

0 comments on commit 03c9fb5

Please sign in to comment.