Skip to content

Commit

Permalink
bump: go version updated to v1.23 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Nov 18, 2024
1 parent dad3373 commit 372eef5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- "1.20"
- "1.21"
- "1.22"
- "1.23"
steps:

- uses: actions/checkout@v4
Expand All @@ -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
Expand All @@ -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)"
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- v*

env:
GO_VERSION: "1.22"
GO_VERSION: "1.23"

jobs:

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))

Expand Down

0 comments on commit 372eef5

Please sign in to comment.