cossacklabs / acra

Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. Supports client-side and proxy-side ("transparent") encryption. SQL, NoSQL.
https://www.cossacklabs.com/acra/
Apache License 2.0
1.34k stars 128 forks source link

Update golang versions [T2648] #558

Closed Lagovas closed 2 years ago

Lagovas commented 2 years ago

In the previous release, we missed up golang version to the last 3. Recently has released go1.19 version. So it is time to update supported versions.

Here were updated circleci tests to use image with a specified version of image 0.93.0 to avoid several updates of the image. if it would be updated with new versions and removed old versions, then current PR's and tests would be failed. So to not block anybody and avoid such situations in the future, much be better to refer to some version instead of latest.

Golang versions were updated for our base acra-build.dockerfile responsible for all our containers and container for tests ci-py-go-themis

Due to newer golang has updated rules for gofmt, were updated files with newer go fmt to pass all tests. Additionally it found some errors in tests with incorrect usage errors.As/Is that were fixed too.

Checklist