Skip to content

Commit 7cc6ff3

Browse files
committed
update go and golangci-lint
1 parent 8f62cb3 commit 7cc6ff3

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/mergify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pull_request_rules:
88
conditions:
99
- -draft
1010
- author~=^dependabot(|-preview)\[bot\]$
11-
- check-success='test (1.23.x, ubuntu-latest)'
11+
- check-success='test (1.24.x, ubuntu-latest)'
1212
- check-success='Analyze (go)'
1313
- title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
1414
actions:
@@ -20,7 +20,7 @@ pull_request_rules:
2020
- name: Alert on major version detection
2121
conditions:
2222
- author~=^dependabot(|-preview)\[bot\]$
23-
- check-success='test (1.23.x, ubuntu-latest)'
23+
- check-success='test (1.24.x, ubuntu-latest)'
2424
- check-success='Analyze (go)'
2525
- -title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
2626
actions:
@@ -36,7 +36,7 @@ pull_request_rules:
3636
- "#approved-reviews-by>=1"
3737
- "#review-requested=0"
3838
- "#changes-requested-reviews-by=0"
39-
- check-success='test (1.23.x, ubuntu-latest)'
39+
- check-success='test (1.24.x, ubuntu-latest)'
4040
- check-success='Analyze (go)'
4141
- -title~=(?i)wip
4242
- label!=work-in-progress

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
test:
1616
strategy:
1717
matrix:
18-
go-version: [ 1.23.x ]
18+
go-version: [ 1.24.x ]
1919
os: [ ubuntu-latest ]
2020
runs-on: ${{ matrix.os }}
2121
steps:

.make/go.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ install-go: ## Install the application (Using Native Go)
6767
lint: ## Run the golangci-lint application (install if not found)
6868
@echo "installing golangci-lint..."
6969
@#Travis (has sudo)
70-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ $(TRAVIS) ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.61.0 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi;
70+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ $(TRAVIS) ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.64.8 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi;
7171
@#AWS CodePipeline
72-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(CODEBUILD_BUILD_ID)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0; fi;
72+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(CODEBUILD_BUILD_ID)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8; fi;
7373
@#GitHub Actions
74-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(GITHUB_WORKFLOW)" != "" ]; then curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b $(go env GOPATH)/bin v1.61.0; fi;
74+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(GITHUB_WORKFLOW)" != "" ]; then curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b $(go env GOPATH)/bin v1.64.8; fi;
7575
@#Brew - MacOS
7676
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then brew install golangci-lint; fi;
7777
@#MacOS Vanilla
78-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- v1.61.0; fi;
78+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- v1.64.8; fi;
7979
@echo "running golangci-lint..."
8080
@golangci-lint run --verbose
8181

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ vet Run the Go vet application
115115

116116
## Examples & Tests
117117
All unit tests and [examples](examples) run via [GitHub Actions](https://github.com/BitcoinSchema/go-map/actions) and
118-
uses [Go version 1.23.x](https://golang.org/doc/go1.23). View the [configuration file](.github/workflows/run-tests.yml).
118+
uses [Go version 1.24.x](https://golang.org/doc/go1.24). View the [configuration file](.github/workflows/run-tests.yml).
119119

120120
Run all tests (including integration tests)
121121
```shell script

0 commit comments

Comments
 (0)