Skip to content

Commit

Permalink
Use GitHub Actions instead of Travis CI (#33)
Browse files Browse the repository at this point in the history
* Use GitHub Actions instead of Travis CI

* Replace the test badge in the README

* Fix submodule checkout failures in GitHub Actions
  • Loading branch information
kojix2 authored Mar 13, 2024
1 parent 0e6a083 commit fdfab02
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test

on:
push:
pull_request:
schedule:
- cron: "45 3 * * 6" # Runs at 03:45, only on Saturday

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- run: crystal spec
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "spec/mustache-spec"]
path = spec/mustache-spec
url = git://github.com/mustache/spec.git
url = https://github.com/mustache/spec.git
3 changes: 0 additions & 3 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
Expand Up @@ -4,7 +4,7 @@ crustache is the implementation of __[mustache](https://mustache.github.io/)__ l

This library implemated [mustache's spec v1.1.2+λ](https://github.com/mustache/spec/tree/v1.1.2).

[![travis-ci.org](https://img.shields.io/travis/MakeNowJust/crustache.svg?style=flat-square)](https://travis-ci.org/MakeNowJust/crustache)
[![test](https://github.com/makenowjust/crustache/actions/workflows/test.yml/badge.svg)](https://github.com/makenowjust/crustache/actions/workflows/test.yml)
<!-- [![docrystal.org](http://www.docrystal.org/badge.svg)](http://www.docrystal.org/github.com/MakeNowJust/crustache) -->

## Installation
Expand Down

0 comments on commit fdfab02

Please sign in to comment.