Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chimanjain committed Feb 23, 2024
1 parent ecff092 commit 07027c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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

0 comments on commit 07027c3

Please sign in to comment.