Skip to content

Commit

Permalink
update README for v4, update supported Golang versions (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 authored Mar 17, 2024
1 parent bd8e345 commit c44aadf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18', '1.19', '1.20' ]
go-version: [ '1.20', '1.21', '1.22' ]

steps:
- uses: actions/checkout@v3

- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Build
run: go build -v ./...

- name: Test
run: go test -coverprofile=coverage.txt -v ./...

- name: Upload code coverage results
uses: codecov/codecov-action@v3
with:
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,21 @@ The new home of Conversio's Shopify Go library.

## Supported Go Versions

This library is tested automatically against the latest version of Go (currently 1.20) and the two previous versions (1.19, 1.18) but should also work with older versions.
This library is tested automatically against the latest version of Go (currently 1.22) and the two previous versions (1.21, 1.20) but should also work with older versions.

## Install v4

```console
$ go get github.com/bold-commerce/go-shopify/v4
```

## Use v4

```go
import "github.com/bold-commerce/go-shopify/v4"
```

This gives you access to the `goshopify` package.

## Install v3

Expand Down

0 comments on commit c44aadf

Please sign in to comment.