Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade golang version to 1.22 and upgraded some libraries #2688

Merged
merged 3 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-easyjson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check easyjson generated files

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-go-dependencies-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check Go Dependencies

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"

# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-go-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check Go

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-i18n-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check Internationalization

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-markdown-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
# See: https://github.com/actions/setup-node/#readme
NODE_VERSION: 16.x
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"

# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-mkdocs-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check Website

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
PYTHON_VERSION: "3.9"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-protobuf-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check Protocol Buffers

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Website

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
PYTHON_VERSION: "3.9"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/i18n-weekly-pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: i18n-weekly-pull

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"
COVERAGE_ARTIFACT: coverage-data

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-go-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Go

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.22"
COVERAGE_ARTIFACT: coverage-data

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
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
go: "1.21"
go: "1.22"
tests: true

linters:
Expand Down
3 changes: 3 additions & 0 deletions .licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ reviewed:
- github.com/ProtonMail/go-crypto/openpgp/errors
- github.com/ProtonMail/go-crypto/openpgp/internal/algorithm
- github.com/ProtonMail/go-crypto/openpgp/internal/ecc
- github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519
- github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field
- github.com/ProtonMail/go-crypto/openpgp/internal/encoding
- github.com/ProtonMail/go-crypto/openpgp/packet
- github.com/ProtonMail/go-crypto/openpgp/s2k
- github.com/ProtonMail/go-crypto/openpgp/symmetric
- github.com/ProtonMail/go-crypto/openpgp/x25519
- github.com/ProtonMail/go-crypto/openpgp/x448
- github.com/cloudflare/circl/dh/x25519
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/ProtonMail/go-crypto/bitcurves
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary:
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/bitcurves
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/ProtonMail/go-crypto/brainpool
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: Package brainpool implements Brainpool elliptic curves.
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/brainpool
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
6 changes: 3 additions & 3 deletions .licenses/go/github.com/ProtonMail/go-crypto/eax.dep.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: github.com/ProtonMail/go-crypto/eax
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: 'Package eax provides an implementation of the EAX (encrypt-authenticate-translate)
mode of operation, as described in Bellare, Rogaway, and Wagner "THE EAX MODE OF
Expand All @@ -9,7 +9,7 @@ summary: 'Package eax provides an implementation of the EAX (encrypt-authenticat
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/eax
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -38,7 +38,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/ProtonMail/go-crypto/internal/byteutil
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary:
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/internal/byteutil
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
6 changes: 3 additions & 3 deletions .licenses/go/github.com/ProtonMail/go-crypto/ocb.dep.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: github.com/ProtonMail/go-crypto/ocb
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: 'Package ocb provides an implementation of the OCB (offset codebook) mode
of operation, as described in RFC-7253 of the IRTF and in Rogaway, Bellare, Black
Expand All @@ -9,7 +9,7 @@ summary: 'Package ocb provides an implementation of the OCB (offset codebook) mo
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/ocb
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -38,7 +38,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
6 changes: 3 additions & 3 deletions .licenses/go/github.com/ProtonMail/go-crypto/openpgp.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/ProtonMail/go-crypto/openpgp
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: Package openpgp implements high level operations on OpenPGP messages.
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/ProtonMail/go-crypto/openpgp/aes/keywrap
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: Package keywrap is an implementation of the RFC 3394 AES key wrapping algorithm.
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: github.com/ProtonMail/go-crypto/openpgp/armor
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: Package armor implements OpenPGP ASCII Armor, see RFC 4880.
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/armor
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: github.com/ProtonMail/go-crypto/openpgp/ecdh
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: Package ecdh implements ECDH encryption, suitable for OpenPGP, as specified
in RFC 6637, section 8.
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ecdh
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: github.com/ProtonMail/go-crypto/openpgp/ecdsa
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: Package ecdsa implements ECDSA signature, suitable for OpenPGP, as specified
in RFC 6637, section 5.
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ecdsa
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: github.com/ProtonMail/go-crypto/openpgp/ed25519
version: v1.1.0-alpha.0
version: v1.1.0-alpha.5-proton
type: go
summary: Package ed25519 implements the ed25519 signature algorithm for OpenPGP as
defined in the Open PGP crypto refresh.
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ed25519
license: other
licenses:
- sources: [email protected].0/LICENSE
- sources: [email protected].5-proton/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: [email protected].0/PATENTS
- sources: [email protected].5-proton/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
Loading
Loading