-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lower required Go version, add CI test for specific version (#1725)
### Description of changes: Add back support for Go 1.17.13 which is used by NetOS. Fix a few language compatibility issues for interface{} and cmd struct. This change does not affect the integrity value of the FIPS module. ### Testing: This change adds a new CI test which uses Go 1.17.13. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license. --------- Co-authored-by: Sean McGrail <[email protected]> --------- Revert "Replace interface{} with any" This reverts commit 6a90c15.
- Loading branch information
Showing
33 changed files
with
157 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Go Compatability | ||
on: | ||
push: | ||
branches: [ '*' ] | ||
pull_request: | ||
branches: [ '*' ] | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref_name }} | ||
cancel-in-progress: true | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
GOPROXY: https://proxy.golang.org,direct | ||
jobs: | ||
go-version-1_17_13: | ||
if: github.repository_owner == 'aws' | ||
env: | ||
GOROOT: "/usr/local/go" | ||
GO_ARCHIVE: "go1.17.13.linux-amd64.tar.gz" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install OS Dependencies | ||
run: | | ||
which go | ||
sudo apt-get update | ||
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build make | ||
sudo rm -rf /usr/local/go | ||
sudo rm /usr/bin/go | ||
wget -q "https://dl.google.com/go/${GO_ARCHIVE}" | ||
sudo tar -C /usr/local -xf $GO_ARCHIVE | ||
echo "${GOROOT}/bin" >> $GITHUB_PATH | ||
- uses: actions/checkout@v3 | ||
- name: Run integration build | ||
run: | | ||
./tests/ci/run_fips_tests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.