Skip to content

Commit

Permalink
Merge pull request #1 from sensiblecodeio/standardise-build
Browse files Browse the repository at this point in the history
Standardise build
  • Loading branch information
StevenMaude authored Jul 1, 2020
2 parents 01ce0af + 9ab963f commit b548c04
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
push:
branches:
- master
pull_request:

jobs:
build:
name: Build and Test
runs-on: ubuntu-latest

steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '~1.14.4'

- name: Checkout code
uses: actions/checkout@v2

- name: Run tests
run: |
go test -v ./...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ Barrier

**DEPRECATED** - You probably want the standard library [context](https://golang.org/pkg/context/) instead, which can be used to achieve the same effect with cancellation.

Documentation: http://godoc.org/github.com/pwaller/barrier
Documentation: https://godoc.org/github.com/sensiblecodeio/barrier

[golang-nuts mailing list discussion](https://groups.google.com/d/topic/golang-nuts/RBQjg6YOiWA/discussion)
2 changes: 1 addition & 1 deletion barrier.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// import (
// "sync"
//
// "github.com/pwaller/barrier"
// "github.com/sensiblecodeio/barrier"
// )
//
// func main() {
Expand Down
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"sync"

"github.com/pwaller/barrier"
"github.com/sensiblecodeio/barrier"
)

func main() {
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/sensiblecodeio/barrier

go 1.14

0 comments on commit b548c04

Please sign in to comment.