Skip to content

Commit

Permalink
switch to GitHub Actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Sep 11, 2019
1 parent 633779b commit 0ca2609
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.12.9, 1.13]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
- name: Test
run: go test ./...
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# xurls

[![GoDoc](https://godoc.org/mvdan.cc/xurls?status.svg)](https://godoc.org/mvdan.cc/xurls)
[![Travis](https://travis-ci.org/mvdan/xurls.svg?branch=master)](https://travis-ci.org/mvdan/xurls)

Extract urls from text using regular expressions. Requires Go 1.10.3 or later.
Extract urls from text using regular expressions. Requires Go 1.12 or later.

```go
import "mvdan.cc/xurls/v2"
Expand Down

0 comments on commit 0ca2609

Please sign in to comment.