mirror of https://github.com/jpillora/backoff.git
Merge pull request #21 from kishaningithub/add-github-ci
Move from circle ci to github ci
This commit is contained in:
commit
89fafdc710
|
@ -0,0 +1,21 @@
|
||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: '>=1.17.0'
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
go mod download
|
||||||
|
go test -v ./...
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
A simple exponential backoff counter in Go (Golang)
|
A simple exponential backoff counter in Go (Golang)
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/jpillora/backoff?status.svg)](https://godoc.org/github.com/jpillora/backoff) [![Circle CI](https://circleci.com/gh/jpillora/backoff.svg?style=shield)](https://circleci.com/gh/jpillora/backoff)
|
[![GoDoc](https://godoc.org/github.com/jpillora/backoff?status.svg)](https://godoc.org/github.com/jpillora/backoff)
|
||||||
|
[![Build Status](https://github.com/jpillora/backoff/actions/workflows/build.yml/badge.svg)](https://github.com/jpillora/backoff/actions/workflows/build.yml)
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue