Skip to content

Commit

Permalink
Fix versioning issues in ci-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam010 committed Mar 19, 2023
1 parent 8aca0da commit 9dd5cd0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/analysis.yml
Expand Up @@ -9,14 +9,13 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.35
version: v1.47

staticcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: check
uses: grandcolline/golang-github-actions@v1.1.0
- name: staticcheck
uses: dominikh/staticcheck-action@v1.2.0
with:
run: staticcheck
token: ${{ secrets.GITHUB_TOKEN }}
version: "2022.1.1"
11 changes: 4 additions & 7 deletions .github/workflows/test.yml
Expand Up @@ -4,10 +4,6 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go_version: [ 1.20 ]

services:
redis-rejson:
image: redislabs/rejson:1.0.8
Expand All @@ -21,11 +17,12 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: set up go ${{ matrix.go_version }}
uses: actions/setup-go@v2
- name: set up go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go_version }}
go-version: '>=1.17.0'
id: go
- run: "go vet ./..."
- name: go test
run: |
go test -race -v -covermode=atomic -coverprofile=profile.cov ./...
Expand Down

0 comments on commit 9dd5cd0

Please sign in to comment.