You've already forked getpsrc
							
							chore(ci): add golangci-lint
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 14s
				
			
		
			
				
	
				Markdown linter / markdown-lint (push) Successful in 4s
				
			
		
			
				
	
				Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Failing after 8s
				
			
		
			
				
	
				Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 1m24s
				
			
		
			
				
	
				Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Failing after 33s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 14s
				
			Markdown linter / markdown-lint (push) Successful in 4s
				
			Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Failing after 8s
				
			Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 1m24s
				
			Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Failing after 33s
				
			This commit is contained in:
		@@ -9,13 +9,16 @@ on:
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  unittest:
 | 
			
		||||
    runs-on:
 | 
			
		||||
    - ubuntu-latest
 | 
			
		||||
    runs-on: ${{ matrix.os }}
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        go: [ stable ]
 | 
			
		||||
        os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v4.2.2
 | 
			
		||||
    - uses: actions/setup-go@v5.5.0
 | 
			
		||||
      with:
 | 
			
		||||
        go-version: stable
 | 
			
		||||
        go-version: ${{ matrix.go }}
 | 
			
		||||
    - env:
 | 
			
		||||
        GOPROXY: ${{ vars.GOPROXY }}
 | 
			
		||||
      run: make test/unit
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										27
									
								
								.gitea/workflows/golangci-lint.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.gitea/workflows/golangci-lint.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
name: Golang CI lint
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  pull_request:
 | 
			
		||||
    types: [ "opened", "reopened", "synchronize" ]
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [ '**' ]
 | 
			
		||||
    tags-ignore: [ '**' ]
 | 
			
		||||
 | 
			
		||||
permissions:
 | 
			
		||||
  contents: read
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  golangci:
 | 
			
		||||
    runs-on: ${{ matrix.os }}
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        go: [ stable ]
 | 
			
		||||
        os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v4.2.2
 | 
			
		||||
    - uses: actions/setup-go@v5.5.0
 | 
			
		||||
      with:
 | 
			
		||||
        go-version: ${{ matrix.go }}
 | 
			
		||||
    - uses: golangci/golangci-lint-action@v8.0.0
 | 
			
		||||
      with:
 | 
			
		||||
        version: v2.1
 | 
			
		||||
		Reference in New Issue
	
	Block a user