Skip to content

Commit

Permalink
Update Go version to 1.22.x
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Mar 25, 2024
1 parent f424b55 commit ff60735
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ updates:
- "minor"
- "patch"
patterns:
- "openziti"
- "*openziti*"

third-party:
applies-to: version-updates
update-types:
- "minor"
- "patch"
exclude-patterns:
- "openziti"
- "rabbitmq"
- "blackfriday"
- "zitadel"
- "*openziti*"
- "*rabbitmq*"
- "*blackfriday*"
- "*zitadel*"

- package-ecosystem: github-actions
directory: "/"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fablab-db-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- uses: actions/checkout@v4

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.55.2
version: latest

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand Down Expand Up @@ -416,7 +416,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'

- name: Install Ziti CI
uses: openziti/ziti-ci@v1
Expand Down
6 changes: 3 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
run:
build-tags:
- apitests
deadline: 8m
skip-files:
- ziti/cmd/edge/verify_ca.go
deadline: 10m

# golangci gives false positives for implementations of methods using generics in generic interfaces
issues:
exclude-files:
- ziti/cmd/edge/verify_ca.go
exclude-rules:
- path: 'controller/model/.*.go'
linters:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Release 0.34.1

## What's New

* Updates version of go to 1.22.x
* As usual when updating the go version, this is the only change in this release

# Release 0.34.0

## What's New
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/openziti/ziti

go 1.21
go 1.22

require (
github.com/AppsFlyer/go-sundheit v0.5.0
Expand Down
2 changes: 1 addition & 1 deletion zititest/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/openziti/ziti/zititest

go 1.21
go 1.22

replace github.com/openziti/ziti => ../

Expand Down

0 comments on commit ff60735

Please sign in to comment.