Skip to content

Commit 05be47c

Browse files
authored
Merge pull request #33 from afeld/github-actions
switch CI to GitHub Actions
2 parents b37205c + 60d14bc commit 05be47c

3 files changed

Lines changed: 53 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
rspec:
7+
name: RSpec
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
13+
- name: Set up Ruby
14+
uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: 2.0.0
17+
bundler-cache: true
18+
19+
- name: Configure Git
20+
run: |
21+
git config --global user.email "tester@example.com"
22+
git config --global user.name "Sally Tester"
23+
24+
- name: Run RSpec
25+
run: bundle exec rspec
26+
27+
shellcheck:
28+
name: ShellCheck
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@v4
33+
34+
- name: Install ShellCheck
35+
run: |
36+
sudo apt-get update -y
37+
sudo apt-get install -y shellcheck
38+
39+
- name: Run ShellCheck
40+
run: "find bin -type f -exec shellcheck {} +"

.travis.yml

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

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Git Plugins [![Build Status](https://travis-ci.org/afeld/git-plugins.svg?branch=travis)](https://travis-ci.org/afeld/git-plugins)
1+
# Git Plugins
2+
3+
[![CI](https://github.com/afeld/git-plugins/actions/workflows/ci.yml/badge.svg)](https://github.com/afeld/git-plugins/actions/workflows/ci.yml)
24

35
A community collection of Git plugins. Browse [the scripts](bin) to see what's included.
46

@@ -47,7 +49,7 @@ export PATH=path/to/git-plugins/bin:$PATH
4749

4850
## Aliases
4951

50-
The plugin names intentionally favor descriptiveness over terseness, but you should make shortcuts for yourself that make sense for you. You can see some examples in the `[alias]` section of [afeld/dotfiles](https://github.com/afeld/dotfiles/blob/master/gitconfig). To add a new shortcut:
52+
The plugin names intentionally favor descriptiveness over terseness, but you should make shortcuts for yourself that make sense for you. You can see some examples in the `[alias]` section of [afeld/dotfiles](https://github.com/afeld/dotfiles/blob/master/gitconfig). To add a new shortcut:
5153

5254
```bash
5355
git config --global alias.SHORT LONG
@@ -75,12 +77,12 @@ git config --global alias.pr create-pull-request
7577

7678
## See Also
7779

78-
* [Official GitHub CLI](https://cli.github.com/)
79-
* [Git Extras](https://github.com/tj/git-extras)
80-
* [EasyGit](https://people.gnome.org/~newren/eg/)
81-
* [ghi](https://github.com/stephencelis/ghi)
82-
* [git-flow](https://github.com/nvie/gitflow)
83-
* [git-setup](https://github.com/afeld/git-setup)
84-
* [hub](http://hub.github.com/)
85-
* [HubFlow](http://datasift.github.io/gitflow/)
86-
* [Legit](http://www.git-legit.org/)
80+
- [Official GitHub CLI](https://cli.github.com/)
81+
- [Git Extras](https://github.com/tj/git-extras)
82+
- [EasyGit](https://people.gnome.org/~newren/eg/)
83+
- [ghi](https://github.com/stephencelis/ghi)
84+
- [git-flow](https://github.com/nvie/gitflow)
85+
- [git-setup](https://github.com/afeld/git-setup)
86+
- [hub](http://hub.github.com/)
87+
- [HubFlow](http://datasift.github.io/gitflow/)
88+
- [Legit](http://www.git-legit.org/)

0 commit comments

Comments
 (0)