Skip to content

Commit 84b849d

Browse files
committed
Migrate CI from Travis to GitHub Actions
* Travis CI stopped running after the free open-source plan was discontinued, so `master` and pull requests had no CI. * Add a GitHub Actions workflow running `make setup` and `make test` on ubuntu-latest and macos-latest. * Swap the dead Travis badge for the Actions badge and remove `.travis.yml`.
1 parent 6dd06da commit 84b849d

4 files changed

Lines changed: 26 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest, macos-latest]
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Install test dependencies
19+
run: make setup
20+
- name: Run tests
21+
run: make test

.travis.yml

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

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1010

1111
* Document installing globally via `core.hooksPath`.
1212

13+
### Changed
14+
15+
* Move continuous integration from Travis CI to GitHub Actions.
16+
1317
## [v0.7.0] - 2026-08-26
1418

1519
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# git-good-commit
22

3-
[![Build Status](https://travis-ci.org/tommarshall/git-good-commit.svg?branch=master)](https://travis-ci.org/tommarshall/git-good-commit)
3+
[![CI](https://github.com/tommarshall/git-good-commit/actions/workflows/ci.yml/badge.svg)](https://github.com/tommarshall/git-good-commit/actions/workflows/ci.yml)
44

55
Git hook to help you write good commit messages.
66

0 commit comments

Comments
 (0)