Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit 2e68071

Browse files
authored
Merge pull request #46 from github/github_actions
Use GitHub Actions
2 parents 504fdf4 + c15bd20 commit 2e68071

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: GitHub Actions CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
jobs:
8+
tests:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Set up Git repository
12+
uses: actions/checkout@main
13+
14+
- run: shellcheck script/*

.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Scripts To Rule Them All
22

3-
[![Build Status](https://travis-ci.org/github/scripts-to-rule-them-all.svg?branch=master)](https://travis-ci.org/github/scripts-to-rule-them-all)
4-
53
This is a set of boilerplate scripts describing the [normalized script pattern
64
that GitHub uses in its projects](http://githubengineering.com/scripts-to-rule-them-all/). While these
75
patterns can work for projects based on any framework or language, these
@@ -63,7 +61,7 @@ state of the app into shape for the current version that is checked out.
6361

6462
[`script/server`][server] is used to start the application.
6563

66-
For a web application, this might start up any extra processes that the
64+
For a web application, this might start up any extra processes that the
6765
application requires to run in addition to itself.
6866

6967
[`script/update`][update] should be called ahead of any application booting to ensure that

script/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717
if [ -f ".ruby-version" ] && [ -z "$(rbenv version-name 2>/dev/null)" ]; then
1818
echo "==> Installing Ruby…"
1919
rbenv install --skip-existing
20-
which bundle >/dev/null 2>&1 || {
20+
command -v bundle >/dev/null 2>&1 || {
2121
gem install bundler
2222
rbenv rehash
2323
}

0 commit comments

Comments
 (0)