From 372eef581ace1921bcb23afc77707cfe5e367631 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Mon, 18 Nov 2024 18:22:52 +0200 Subject: [PATCH] bump: go version updated to `v1.23` (#79) --- .github/workflows/main.yaml | 11 +++++------ .github/workflows/release.yaml | 2 +- Makefile | 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index bda0ee2..9f79b94 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -20,6 +20,7 @@ jobs: - "1.20" - "1.21" - "1.22" + - "1.23" steps: - uses: actions/checkout@v4 @@ -41,11 +42,11 @@ jobs: - run: make tests - name: Install goveralls - if: matrix.go == '1.22' + if: matrix.go == '1.23' run: go install github.com/mattn/goveralls@latest - name: Coverage - Sending Report to Coveral - if: matrix.go == '1.22' + if: matrix.go == '1.23' env: COVERALLS_TOKEN: ${{ secrets.github_token }} run: goveralls -coverprofile=coverage.cov -service=github @@ -58,7 +59,5 @@ jobs: uses: golangci/golangci-lint-action@v6.0.1 with: version: latest - skip-build-cache: true - skip-pkg-cache: true - args: --skip-dirs "^(cmd|testdata)" - + skip-cache: true + args: --exclude-dirs "^(cmd|testdata)" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 716b19b..33d23bf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,7 +6,7 @@ on: - v* env: - GO_VERSION: "1.22" + GO_VERSION: "1.23" jobs: diff --git a/Makefile b/Makefile index 0009aa2..969d6b9 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ tests-summary: bin/tparse lints: ## Run golangci-lint lints: bin/golangci-lint lints: - golangci-lint run --no-config ./... --skip-dirs "^(cmd|testdata)" + golangci-lint run --no-config ./... --exclude-dirs "^(cmd|testdata)" cover: ## Run Coverage @@ -71,8 +71,8 @@ bin/tparse: INSTALL_URL=github.com/mfridman/tparse@v0.13.2 bin/tparse: $(call install_go_bin, tparse, $(INSTALL_URL)) -bin/golangci-lint: ## Installs golangci-lint@v1.55.2 (if not exists) -bin/golangci-lint: INSTALL_URL=github.com/golangci/golangci-lint@v1.55.2 +bin/golangci-lint: ## Installs golangci-lint@v1.62.0 (if not exists) +bin/golangci-lint: INSTALL_URL=github.com/golangci/golangci-lint@v1.62.0 bin/golangci-lint: $(call install_go_bin, golangci-lint, $(INSTALL_URL))