Skip to content

Commit

Permalink
Update project version from using go 1.21 to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhdeveloper committed Aug 9, 2024
1 parent 57d0381 commit f28c25f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21.3"
go-version: "1.22.6"
- name: Build
run: make build
lint:
runs-on: ubuntu-latest
container:
image: golangci/golangci-lint:v1.55.2
image: golangci/golangci-lint:v1.59.1
options: --user 1001
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21.3"
- name: Lint
run: golangci-lint -c .golangci.yml run
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21.3"
go-version: "1.22.6"
- name: "Generate release artifacts"
run: make generate-release-artifacts
- name: "Generate changelog"
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
run:
timeout: 10m
modules-download-mode: readonly
modules-download-mode: mod

linters:
enable-all: false
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ lint:
-w /sources \
-v $(shell PWD):/sources \
golangci/golangci-lint:v1.59.1 \
golangci-lint -c .golangci.yml run
golangci-lint -v -c .golangci.yml run
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/dmhdeveloper/cfg

go 1.21
go 1.22

require gopkg.in/yaml.v3 v3.0.1

0 comments on commit f28c25f

Please sign in to comment.