Skip to content

Commit

Permalink
Test with go v4 and golangci-lint-action@v3.5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
  • Loading branch information
Shwetha-Acharya committed Jul 26, 2023
1 parent d02526c commit 6b3ff34
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ defaults:
run:
shell: bash
jobs:

lint:
name: Linters
runs-on: ubuntu-20.04
Expand All @@ -58,6 +57,7 @@ jobs:
git --no-pager diff
git diff-index --quiet HEAD
golangci:
name: Golangci Lint
runs-on: ubuntu-20.04
Expand All @@ -66,14 +66,15 @@ jobs:
uses: actions/checkout@v3

- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}

- name: GolangCI Lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v3.5.0
with:
version: v1.49.0
version: v1.49.


unit-test:
name: Unit tests
Expand All @@ -83,7 +84,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}

Expand Down Expand Up @@ -189,7 +190,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}

Expand Down Expand Up @@ -232,7 +233,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}

Expand Down Expand Up @@ -346,7 +347,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}

Expand Down

0 comments on commit 6b3ff34

Please sign in to comment.