diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index 9ea681219..7406a727c 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.21.1', '1.20.8'] + GOVER: ['stable', 'oldstable'] steps: - name: Setup Go-${{ matrix.GOVER }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.GOVER }} - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Linting uses: golangci/golangci-lint-action@v3 with: @@ -47,9 +47,9 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - CFG: [[arm64, arm64v8, '1.21.1']] + CFG: [[arm64, arm64v8, '1.22']] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Enabling Docker Experimental run: | echo $'{\n "experimental": true\n}' | sudo tee /etc/docker/daemon.json @@ -68,11 +68,11 @@ jobs: name: Testing Build Modes steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: '1.21.1' + go-version: 'stable' - name: Build as Static run: make circl_static - name: Build as Plugin @@ -84,15 +84,15 @@ jobs: name: amd64/coverage steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: '1.21.1' + go-version: 'stable' - name: Produce Coverage run: go test -coverprofile=./coverage.txt ./... - name: Upload Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: file: ./coverage.txt osCompat: @@ -101,14 +101,14 @@ jobs: name: Running on ${{ matrix.os }} strategy: matrix: - os: [macos-11, windows-2019] + os: [macos-latest, windows-latest] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: '1.21.1' + go-version: 'stable' - name: Building run: go build -v ./... - name: Testing @@ -123,12 +123,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: go - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:go" diff --git a/go.mod b/go.mod index 84646127f..c58932dce 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cloudflare/circl -go 1.19 +go 1.21 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 f9d224ac2..ed620578f 100644 --- a/pke/kyber/internal/common/asm/go.mod +++ b/pke/kyber/internal/common/asm/go.mod @@ -1,6 +1,6 @@ module github.com/cloudflare/circl/pke/kyber/internal/common/asm -go 1.19 +go 1.21 require ( github.com/cloudflare/circl v1.3.7 diff --git a/sign/dilithium/internal/common/asm/go.mod b/sign/dilithium/internal/common/asm/go.mod index 709c8d6c5..5638957e6 100644 --- a/sign/dilithium/internal/common/asm/go.mod +++ b/sign/dilithium/internal/common/asm/go.mod @@ -1,6 +1,6 @@ module github.com/cloudflare/circl/sign/dilithium/internal/common/asm -go 1.19 +go 1.21 require ( github.com/cloudflare/circl v1.3.7