Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
ci: gomod changes related for Go 1.17 (#433)
Browse files Browse the repository at this point in the history
Signed-off-by: Ernesto Ojeda <ernesto.ojeda@intel.com>
  • Loading branch information
ernestojeda authored Jan 20, 2022
1 parent 10c2baf commit cb94420
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/test-attribution-txt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ ! -f Attribution.txt ]; then
else
# loop over every library in the modules.txt file in vendor
while IFS= read -r lib; do
if ! grep -q "$lib" Attribution.txt && [ "$lib" != "explicit" ]; then
if ! grep -q "$lib" Attribution.txt && [ "$lib" != "explicit" ] && [ "$lib" != "explicit;" ]; then
echo "An attribution for $lib is missing from in Attribution.txt, please add"
# need to do this in a bash subshell, see SC2031
(( EXIT_CODE=1 ))
Expand Down
17 changes: 16 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@ require (
github.com/spf13/cobra v0.0.7
)

go 1.16
require (
github.com/fxamacker/cbor/v2 v2.2.0 // indirect
github.com/go-playground/locales v0.13.0 // indirect
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/go-playground/validator/v10 v10.6.1 // indirect
github.com/google/uuid v1.2.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/leodido/go-urn v1.2.0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/x448/float16 v0.8.4 // indirect
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
golang.org/x/sys v0.0.0-20190412213103-97732733099d // indirect
golang.org/x/text v0.3.2 // indirect
)

go 1.17
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ parts:
source: .
plugin: make
build-snaps:
- go/1.16/stable
- go/1.17/stable
override-build: |
cd $SNAPCRAFT_PART_SRC
make tidy
Expand Down

0 comments on commit cb94420

Please sign in to comment.