diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0509b287..6fd84280 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.20.x] + go-version: [1.22.x] openssl-version: [1.0.2, 1.1.0, 1.1.1, 3.0.1, 3.0.13, 3.1.5, 3.2.1, 3.3.0, 3.3.1] runs-on: ubuntu-20.04 steps: @@ -50,7 +50,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.20.x] + go-version: [1.22.x] openssl-version: [libcrypto-1_1-x64.dll, libcrypto-3-x64.dll] steps: - name: Install Go @@ -67,7 +67,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.20.x] + go-version: [1.22.x] openssl-version: [libcrypto.3.dylib] runs-on: macos-12 steps: @@ -81,3 +81,14 @@ jobs: run: go test -gcflags=all=-d=checkptr -count 10 -v ./... env: GO_OPENSSL_VERSION_OVERRIDE: ${{ matrix.openssl-version }} + azurelinux: + runs-on: ubuntu-latest + container: mcr.microsoft.com/oss/go/microsoft/golang:1.23-azurelinux3.0 + steps: + - name: Checkout code + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - name: Run Test + run: go test -v ./... + # Go with FIPs / OpenSSL support on Azure Linux 3.0 is currently broken due to symcrypt change, so we ignore failures. + # See https://github.com/golang-fips/openssl/issues/158. + continue-on-error: true diff --git a/go.mod b/go.mod index 12508f84..4341eb9b 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/golang-fips/openssl/v2 -go 1.20 +go 1.22