Skip to content

Commit

Permalink
Try testing multiple Go versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
corywalker committed Aug 19, 2023
1 parent 8b43f0e commit 72224ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go.yml
Expand Up @@ -13,15 +13,19 @@ jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x', '1.20.x' ]

steps:
- uses: actions/checkout@v3
with:
lfs: 'true'

- name: Set up Go
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: ${{ matrix.go-version }}

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -129,6 +129,7 @@ go generate ./...
go test ./...
# Or to test some important parts with helpful information printed:
go test -v github.com/corywalker/expreduce/expreduce -count=1
# To exit early, press Ctrl-\
```

The use of `go generate` might require the download of additional dependencies, for example `go install github.com/go-bindata/go-bindata/...@latest`.

0 comments on commit 72224ba

Please sign in to comment.