Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 #2627

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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