Skip to content

Commit

Permalink
chore: add Go 1.22 support
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed Feb 15, 2024
1 parent a38f975 commit 6c6bd7c
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: ["1.19", "1.20", "1.21"]
go: ["1.19", "1.20", "1.21", "1.22"]
tags: ["", "finder", "viper_bind_struct"]

steps:
Expand Down Expand Up @@ -75,12 +75,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: "1.21"
go-version: "1.22"

- name: Lint
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
with:
version: v1.54.2
version: v1.56.1

dev:
name: Developer environment
Expand Down
62 changes: 40 additions & 22 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
default = {
languages = {
go.enable = true;
go.package = pkgs.go_1_22;
};

pre-commit.hooks = {
Expand Down

0 comments on commit 6c6bd7c

Please sign in to comment.