Skip to content

Commit

Permalink
Repalce Travis with Github Actions -- build with go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Mongey committed Sep 7, 2021
1 parent 405d320 commit 58bb525
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- run: go test ./...

lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
6 changes: 0 additions & 6 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 @@ -3,7 +3,7 @@
![](https://f.cloud.github.com/assets/846194/628861/8090cb46-d104-11e2-84eb-7878aa9057d0.gif)

## Overview
[![Build Status](https://api.travis-ci.org/pearkes/get.png?branch=master)](https://travis-ci.org/pearkes/gethub)
[![Build Status](https://github.com/pearkes/gethub/actions/workflows/ci.yml/badge.svg)](https://github.com/pearkes/gethub/actions/workflows/ci.yml)

`gethub` helps you keep all of your git repositories that have GitHub
remotes up to date.
Expand Down

0 comments on commit 58bb525

Please sign in to comment.