Skip to content

Commit

Permalink
Update Go 1.19 -> 1.20
Browse files Browse the repository at this point in the history
With 1.21 RCs coming out, it'd be nice to not be two versions behind. :-)

This also bumps the version to 0.1.7.
  • Loading branch information
hrs committed Jun 28, 2023
1 parent 67ac1d5 commit f020d53
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
with:
fetch-depth: 0

- name: Install Go 1.19
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version-file: "go.mod"
id: go

- name: Run tests
run: 'make && make test'
run: "make && make test"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ builds:
archives:
- name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/hrs/docsim

go 1.19
go 1.20

require github.com/blevesearch/go-porterstemmer v1.0.3
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hrs/docsim/corpus"
)

var version = "0.1.6"
var version = "0.1.7"

const usage = `Usage:
docsim [OPTION...] QUERY [PATH...]
Expand Down

0 comments on commit f020d53

Please sign in to comment.