Skip to content

Commit

Permalink
Go mod and GitHub actions (#64)
Browse files Browse the repository at this point in the history
* add go.mod file, move to github actions

* update ci badge on readme

* update badges on readme, cleanup naming in gh actions workflow

* gh action on pr only

* remove go test on 1.15.x for now
  • Loading branch information
nimajalali authored Aug 28, 2020
1 parent 2b94c45 commit b889d95
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 30 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on: [pull_request]
name: build
jobs:
build-test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: go build ./...
- name: Test
run: go test ./...
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
go-force
======

[![wercker status](https://app.wercker.com/status/66ea433103de60e20ce0f96340a75828/m "wercker status")](https://app.wercker.com/project/bykey/66ea433103de60e20ce0f96340a75828)
<p align="center">
<a href="https://goreportcard.com/report/github.com/nimajalali/go-force"><img src="https://goreportcard.com/badge/github.com/nimajalali/go-force" alt="Go Report Card"></a>
<a href="https://github.com/nimajalali/go-force/actions?query=workflow%3Abuild"><img src="https://github.com/nimajalali/go-force/workflows/build/badge.svg" alt="build status"></a>
<a href="https://github.com/nimajalali/go-force/blob/master/go.mod"><img src="https://img.shields.io/github/go-mod/go-version/nimajalali/go-force" alt="Go version"></a>
<a href="https://github.com/nimajalali/go-force/releases"><img src="https://img.shields.io/github/v/release/nimajalali/go-force.svg" alt="Current Release"></a>
<a href="https://godoc.org/github.com/nimajalali/go-force"><img src="https://godoc.org/github.com/nimajalali/go-force?status.svg" alt="godoc"></a>
<a href="https://gocover.io/github.com/nimajalali/go-force/force"><img src="https://gocover.io/_badge/github.com/nimajalali/go-force/force" alt="Coverage"></a>
<a href="https://github.com/nimajalali/go-force/blob/master/LICENSE"><img src="https://img.shields.io/github/license/nimajalali/go-force" alt="License"></a>
</p>

[Golang](http://golang.org/) API wrapper for [Force.com](http://www.force.com/), [Salesforce.com](http://www.salesforce.com/)

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/nimajalali/go-force

go 1.13
28 changes: 0 additions & 28 deletions wercker.yml

This file was deleted.

0 comments on commit b889d95

Please sign in to comment.