File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22set  -e
33:  " ${CLAIRCORE_BRANCH:= main} " 
4- 
5- echo  " ::group::go version" 
64cd  " $( git rev-parse --show-toplevel) " 
7- go version
8- echo  " ::endgroup::" 
9- 
105test  -d vendor &&  rm -rf vendor
116
12- echo  " ::group::Changes " 
7+ echo  " ::group::Edits " 
138go mod edit \
149	" -replace=github.com/quay/claircore=github.com/quay/claircore@${CLAIRCORE_BRANCH} " 
1510go mod tidy
1611go mod download #  Shouldn't be needed, but just to be safe...
17- git diff
1812echo  " ::endgroup::" 
1913
2014clair_version=" $( git describe --tags --always --dirty --match ' v4.*' ) " 
21- echo  " ::notice::Clair version: ${clair_version} " 
2215echo  " clair_version=${clair_version} "   >>  " $GITHUB_OUTPUT " 
16+ 
17+ cat << .  >>"$GITHUB_STEP_SUMMARY "
18+ ### Changes 
19+ 
20+ - **Go version:** $( go version)  
21+ - **Clair version:** ${clair_version}  
22+ . 
23+ {
24+ 	echo  ' ```patch' 
25+ 	git diff
26+ 	echo  ' ```'   
27+ } >> " $GITHUB_STEP_SUMMARY " 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments