Skip to content

Commit

Permalink
4 (#6)
Browse files Browse the repository at this point in the history
* Added Go 1.16 github actions
FileGo authored Feb 20, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c7f1c2b commit dea7fd0
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x]
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
platform: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.platform }}
16 changes: 16 additions & 0 deletions .github/workflows/pkg_go_dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pkg.go.dev workflow
on:
release:
types:
- created
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- '**/v[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
name: Renew documentation
runs-on: ubuntu-latest
steps:
- name: Pull new module version
uses: andrewslotin/go-proxy-pull-action@master
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x]
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
platform: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.platform }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ An API key from Octopus Energy is required, as mentioned [here](https://develope

## Usage

```
```golang
client, err := octopusenergyapi.NewClient("{API_KEY}", http.DefaultClient)
if err != nil {
log.Fatal(err)

0 comments on commit dea7fd0

Please sign in to comment.