File tree Expand file tree Collapse file tree 3 files changed +44
-9
lines changed Expand file tree Collapse file tree 3 files changed +44
-9
lines changed Original file line number Diff line number Diff line change 1+ name : Go package 
2+ 
3+ on :
4+   push :         {branches: [master]} 
5+   pull_request : {branches: [master]} 
6+ 
7+ jobs :
8+   ci :
9+ 
10+     runs-on : ubuntu-latest 
11+     steps :
12+       - uses : actions/checkout@v4 
13+ 
14+       - name : Set up Go 
15+         uses : actions/setup-go@v5 
16+         with :
17+           go-version : ' stable' 
18+           cache : ' true' 
19+ 
20+       - name : Test 
21+         run : go test -v ./... 
Original file line number Diff line number Diff line change 1+ on :
2+   release :
3+     types : [created] 
4+ 
5+ permissions :
6+     contents : write 
7+     packages : write 
8+ 
9+ jobs :
10+   releases-matrix :
11+     name : release linux/amd64 
12+     runs-on : ubuntu-latest 
13+     strategy :
14+       matrix :
15+         goos : [linux, darwin] 
16+         goarch : [amd64, arm64] 
17+     steps :
18+     - uses : actions/checkout@v4 
19+     - uses : wangyoucao577/go-release-action@v1 
20+       with :
21+         github_token : ${{ secrets.GITHUB_TOKEN }} 
22+         goos : ${{ matrix.goos }} 
23+         goarch : ${{ matrix.goarch }} 
  Load Diff This file was deleted. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments