-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from imdrasil/feature/add-crystal-1-support
Add crystal 1.0.0 support
- Loading branch information
Showing
9 changed files
with
61 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
schedule: | ||
- cron: "0 7 * * 1" | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
|
||
runs-on: ubuntu-latest | ||
|
||
env: | ||
TERM: xterm-256color | ||
|
||
steps: | ||
- name: Install Crystal | ||
uses: oprypin/install-crystal@v1 | ||
|
||
- name: Donwload sources | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check formatting | ||
run: crystal tool format --check | ||
|
||
- name: Install dependencies | ||
run: shards install | ||
|
||
- name: Run linter | ||
run: ./bin/ameba | ||
|
||
- name: Setup environment | ||
run: crystal examples/sam.cr setup | ||
|
||
- name: Run specs | ||
run: crystal spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
name: sam | ||
version: 0.4.0 | ||
version: 0.4.1 | ||
|
||
authors: | ||
- Roman Kalnytskyi <moranibaca@gmail.com> | ||
|
||
crystal: 0.35.1 | ||
crystal: ">= 0.35.1" | ||
|
||
license: MIT | ||
|
||
development_dependencies: | ||
ameba: | ||
github: crystal-ameba/ameba | ||
version: "= 0.13.0" | ||
version: "= 0.14.3" | ||
|
||
scripts: | ||
postinstall: "false | [ -f ../../sam.cr ] && true || cp -i examples/sam.template ../../sam.cr 2>/dev/null" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
require "./exceptions" | ||
|
||
module Sam | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Sam | ||
VERSION = "0.4.0" | ||
VERSION = "0.4.1" | ||
end |