From 064a9ba6ab0851559e9af0498b7c08ae014e7cbb Mon Sep 17 00:00:00 2001 From: armfazh Date: Mon, 7 Oct 2024 15:59:31 -0700 Subject: [PATCH] Bump to go1.22 inner files and ci jobs. --- .github/workflows/ci-actions.yml | 16 ++++++++-------- go.mod | 2 +- pke/kyber/internal/common/asm/go.mod | 6 +++--- pke/kyber/internal/common/asm/go.sum | 8 ++++---- sign/dilithium/internal/common/asm/go.mod | 6 +++--- sign/dilithium/internal/common/asm/go.sum | 8 ++++---- 6 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index 0c024234b..a1105bf1c 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -13,14 +13,14 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - GOVER: ['1.22', '1.21'] + GOVER: ['1.23', '1.22'] steps: + - name: Checkout + uses: actions/checkout@v4 - name: Setup Go-${{ matrix.GOVER }} uses: actions/setup-go@v5 with: go-version: ${{ matrix.GOVER }} - - name: Checkout - uses: actions/checkout@v4 - name: Linting uses: golangci/golangci-lint-action@v4 with: @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - CFG: [[arm64, arm64v8, '1.22']] + CFG: [[arm64, arm64v8, '1.23']] steps: - uses: actions/checkout@v4 - name: Enabling Docker Experimental @@ -72,7 +72,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Build as Static run: make circl_static - name: Build as Plugin @@ -88,7 +88,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Produce Coverage run: go test -coverprofile=./coverage.txt ./... - name: Upload Codecov @@ -110,7 +110,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Building run: go build -v ./... - name: Testing @@ -129,7 +129,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: diff --git a/go.mod b/go.mod index c58932dce..0340ede9f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cloudflare/circl -go 1.21 +go 1.22.0 require ( github.com/bwesterb/go-ristretto v1.2.3 diff --git a/pke/kyber/internal/common/asm/go.mod b/pke/kyber/internal/common/asm/go.mod index ed620578f..12eece759 100644 --- a/pke/kyber/internal/common/asm/go.mod +++ b/pke/kyber/internal/common/asm/go.mod @@ -1,15 +1,15 @@ module github.com/cloudflare/circl/pke/kyber/internal/common/asm -go 1.21 +go 1.22.0 require ( - github.com/cloudflare/circl v1.3.7 + github.com/cloudflare/circl v1.4.0 github.com/mmcloughlin/avo v0.6.0 ) require ( golang.org/x/mod v0.14.0 // indirect - golang.org/x/tools v0.17.0 // indirect + golang.org/x/tools v0.16.1 // indirect ) replace github.com/cloudflare/circl => ../../../../../ diff --git a/pke/kyber/internal/common/asm/go.sum b/pke/kyber/internal/common/asm/go.sum index d9b5c0cf9..483bba883 100644 --- a/pke/kyber/internal/common/asm/go.sum +++ b/pke/kyber/internal/common/asm/go.sum @@ -2,7 +2,7 @@ github.com/mmcloughlin/avo v0.6.0 h1:QH6FU8SKoTLaVs80GA8TJuLNkUYl4VokHKlPhVDg4YY github.com/mmcloughlin/avo v0.6.0/go.mod h1:8CoAGaCSYXtCPR+8y18Y9aB/kxb8JSS6FRI7mSkvD+8= golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= -golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= +golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= +golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= diff --git a/sign/dilithium/internal/common/asm/go.mod b/sign/dilithium/internal/common/asm/go.mod index 5638957e6..3f9a8a6d3 100644 --- a/sign/dilithium/internal/common/asm/go.mod +++ b/sign/dilithium/internal/common/asm/go.mod @@ -1,15 +1,15 @@ module github.com/cloudflare/circl/sign/dilithium/internal/common/asm -go 1.21 +go 1.22.0 require ( - github.com/cloudflare/circl v1.3.7 + github.com/cloudflare/circl v1.4.0 github.com/mmcloughlin/avo v0.6.0 ) require ( golang.org/x/mod v0.14.0 // indirect - golang.org/x/tools v0.17.0 // indirect + golang.org/x/tools v0.16.1 // indirect ) replace github.com/cloudflare/circl => ../../../../../ diff --git a/sign/dilithium/internal/common/asm/go.sum b/sign/dilithium/internal/common/asm/go.sum index d9b5c0cf9..483bba883 100644 --- a/sign/dilithium/internal/common/asm/go.sum +++ b/sign/dilithium/internal/common/asm/go.sum @@ -2,7 +2,7 @@ github.com/mmcloughlin/avo v0.6.0 h1:QH6FU8SKoTLaVs80GA8TJuLNkUYl4VokHKlPhVDg4YY github.com/mmcloughlin/avo v0.6.0/go.mod h1:8CoAGaCSYXtCPR+8y18Y9aB/kxb8JSS6FRI7mSkvD+8= golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= -golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= +golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= +golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0=