Skip to content

Commit

Permalink
build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (g…
Browse files Browse the repository at this point in the history
…olangci#2627)

Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
  • Loading branch information
3 people authored and SeigeC committed Apr 4, 2023
1 parent 0eecfa0 commit 0fc2570
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr-extra.yml
@@ -1,11 +1,10 @@
name: Extra
on:
push:
tags:
- v*
branches:
- master
pull_request:

jobs:
vulns:
name: Vulnerability scanner
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/pr.yml
@@ -1,12 +1,13 @@
---
name: CI
on:
push:
tags:
- v*
branches:
- master
pull_request:

env:
GO_VERSION: 1.17

jobs:
# Check if there any dirty change for go mod tidy
go-mod:
Expand All @@ -15,7 +16,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v2
- name: Check go mod
Expand All @@ -29,8 +30,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: lint
uses: golangci/golangci-lint-action@v2.5.2
uses: golangci/golangci-lint-action@v3.1.0
with:
version: latest
# skip cache because of flaky behaviors
Expand All @@ -45,10 +50,11 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17 # test only the latest go version to speed up CI
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
- name: Run tests
run: make.exe test
continue-on-error: true

tests-on-macos:
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
runs-on: macos-latest
Expand All @@ -57,9 +63,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17 # test only the latest go version to speed up CI
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI
- name: Run tests
run: make test

tests-on-unix:
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
runs-on: ubuntu-latest
Expand All @@ -82,6 +89,7 @@ jobs:
${{ runner.os }}-go-${{ matrix.golang }}-
- name: Run tests
run: make test

check_generated:
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
runs-on: ubuntu-latest
Expand All @@ -95,6 +103,6 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: ${{ env.GO_VERSION }}
- name: Check generated files are up to date
run: make fast_check_generated
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
@@ -1,9 +1,9 @@
---
name: "Release a tag"
on:
push:
tags:
- v*

jobs:
release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0fc2570

Please sign in to comment.