Skip to content

Commit

Permalink
upgrade go version from 1.13 to 1.16 (#65)
Browse files Browse the repository at this point in the history
* upgrade go version, replace ioutil.ReadFile with os.ReadFile

* revert change to move from ioutil to io due to unit-tests

* update readme

* add workflows

* add id & update tests

* update go version to latest

Co-authored-by: hkadakia <[email protected]>
  • Loading branch information
hkadakia and hkadakia authored Apr 5, 2021
1 parent 4724598 commit 77a75c5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.15.x', '1.14.x', '1.13.x' ]
go: [ '1.16.x' ]
name: Go ${{ matrix.go }} build
steps:
- name: checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: install go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.16.x

- name: get version
id: v
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You should be able to run crypki server on any linux platform as long as you hav

Prerequisites:

- Go >= 1.13
- Go >= 1.16

Run:

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/theparanoids/crypki

go 1.13
go 1.16

require (
github.com/golang/mock v1.4.4
Expand Down
Loading

0 comments on commit 77a75c5

Please sign in to comment.