Skip to content

Commit

Permalink
go version bump-up (#72)
Browse files Browse the repository at this point in the history
* Update go version to 1.22

Signed-off-by: nitesh3108 <[email protected]>

* update github actions

---------

Signed-off-by: nitesh3108 <[email protected]>
Co-authored-by: Chiman Jain <[email protected]>
  • Loading branch information
nitesh3108 and chimanjain authored Feb 23, 2024
1 parent 14b60d7 commit ea53c0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go latest
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 'stable'
id: go
- name: Checkout the code
uses: actions/checkout@v4
- name: Install Mockgen
run: go get github.com/golang/mock/mockgen@v1.4.4
run: go get github.com/golang/mock/mockgen@v1.6.0
- name: Get dependencies
run: go mod download
- name: Build csm-metrics-powerstore Docker Image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
Expand All @@ -24,7 +24,7 @@ jobs:
run: |
go mod vendor
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.53
skip-cache: true
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/dell/csm-metrics-powerstore

go 1.21
go 1.22

require (
github.com/dell/gocsi v1.9.0
Expand Down

0 comments on commit ea53c0c

Please sign in to comment.