Skip to content

Commit

Permalink
Update go version and add CI pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kucherov committed Mar 25, 2020
1 parent f3996a3 commit 5d52927
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on: [push, pull_request]

jobs:

test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Set up proper version of Go
uses: actions/setup-go@v1
with:
go-version: 1.14.1
id: go

- name: run tests
run: make test
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.4
1.14.1
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
go-teamweek
===========

[Go](http://golang.org) library for accessing the [Teamweek API](https://developers.teamweek.com/api-v4.html)
[Go](http://golang.org) library for accessing the [Toggl.Plan API](https://developers.plan.toggl.com/api-v4.html)

[![CI](https://github.com/toggl/go-teamweek/workflows/CI/badge.svg)](https://github.com/toggl/go-teamweek/actions?query=workflow%3ACI)

### Usage ###

Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module github.com/toggl/go-teamweek

go 1.14

0 comments on commit 5d52927

Please sign in to comment.