good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 1fd434d3 authored by Alex Sharov's avatar Alex Sharov Committed by GitHub
Browse files

linter to support go 1.18 (#3739)

parent 4f7f1554
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ jobs: ...@@ -20,7 +20,7 @@ jobs:
- run: git submodule update --init --recursive --force - run: git submodule update --init --recursive --force
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17.x go-version: 1.18.x
- name: Install dependencies - name: Install dependencies
run: | run: |
if [ "$RUNNER_OS" == "Linux" ]; then if [ "$RUNNER_OS" == "Linux" ]; then
...@@ -44,7 +44,7 @@ jobs: ...@@ -44,7 +44,7 @@ jobs:
if: matrix.os == 'ubuntu-20.04' if: matrix.os == 'ubuntu-20.04'
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v3
with: with:
version: v1.44 version: v1.45
skip-pkg-cache: true skip-pkg-cache: true
skip-build-cache: true skip-build-cache: true
- run: make test - run: make test
...@@ -60,7 +60,7 @@ jobs: ...@@ -60,7 +60,7 @@ jobs:
- run: git submodule update --init --recursive --force - run: git submodule update --init --recursive --force
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17.x go-version: 1.18.x
- run: choco upgrade mingw cmake -y --no-progress - run: choco upgrade mingw cmake -y --no-progress
- name: Build - name: Build
run: | run: |
......
...@@ -97,7 +97,7 @@ lintci: ...@@ -97,7 +97,7 @@ lintci:
lintci-deps: lintci-deps:
rm -f ./build/bin/golangci-lint rm -f ./build/bin/golangci-lint
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./build/bin v1.44.2 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./build/bin v1.45.0
clean: clean:
go clean -cache go clean -cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment