mirror of
				https://github.com/oneclickvirt/backtrace.git
				synced 2025-11-04 15:52:37 +08:00 
			
		
		
		
	fix:删除无效测试
This commit is contained in:
		
							parent
							
								
									50b411fa41
								
							
						
					
					
						commit
						d8148ff279
					
				
							
								
								
									
										7
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							@ -20,14 +20,17 @@ jobs:
 | 
				
			|||||||
          go-version: ${{ matrix.go }}
 | 
					          go-version: ${{ matrix.go }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Test
 | 
					      - name: Test
 | 
				
			||||||
        run: go test ./... -coverprofile=coverage.txt
 | 
					        run: |
 | 
				
			||||||
 | 
					          # Run all tests without generating a combined coverage profile
 | 
				
			||||||
 | 
					          set -euo pipefail
 | 
				
			||||||
 | 
					          go test ./...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Create Tag
 | 
					      - name: Create Tag
 | 
				
			||||||
        if: success()
 | 
					        if: success()
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          git config --global user.name 'github-actions'
 | 
					          git config --global user.name 'github-actions'
 | 
				
			||||||
          git config --global user.email 'github-actions@github.com'
 | 
					          git config --global user.email 'github-actions@github.com'
 | 
				
			||||||
          TAG="v0.0.7-$(date +'%Y%m%d%H%M%S')"
 | 
					          TAG="v0.0.8-$(date +'%Y%m%d%H%M%S')"
 | 
				
			||||||
          git tag $TAG
 | 
					          git tag $TAG
 | 
				
			||||||
          git push origin $TAG
 | 
					          git push origin $TAG
 | 
				
			||||||
          echo "TAG=$TAG" >> $GITHUB_ENV
 | 
					          echo "TAG=$TAG" >> $GITHUB_ENV
 | 
				
			||||||
 | 
				
			|||||||
@ -2,7 +2,7 @@ package model
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import "time"
 | 
					import "time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const BackTraceVersion = "v0.0.7"
 | 
					const BackTraceVersion = "v0.0.8"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var EnableLoger = false
 | 
					var EnableLoger = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -17,6 +17,7 @@ type IcmpTarget struct {
 | 
				
			|||||||
var (
 | 
					var (
 | 
				
			||||||
	IcmpTargets = "https://raw.githubusercontent.com/spiritLHLS/icmp_targets/main/nodes.json"
 | 
						IcmpTargets = "https://raw.githubusercontent.com/spiritLHLS/icmp_targets/main/nodes.json"
 | 
				
			||||||
	CdnList     = []string{
 | 
						CdnList     = []string{
 | 
				
			||||||
 | 
							"https://cdn.spiritlhl.net/",
 | 
				
			||||||
		"http://cdn1.spiritlhl.net/",
 | 
							"http://cdn1.spiritlhl.net/",
 | 
				
			||||||
		"http://cdn2.spiritlhl.net/",
 | 
							"http://cdn2.spiritlhl.net/",
 | 
				
			||||||
		"http://cdn3.spiritlhl.net/",
 | 
							"http://cdn3.spiritlhl.net/",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user