You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			26 lines
		
	
	
		
			449 B
		
	
	
	
		
			YAML
		
	
			
		
		
	
	
			26 lines
		
	
	
		
			449 B
		
	
	
	
		
			YAML
		
	
| kind: pipeline
 | |
| type: docker
 | |
| name: default
 | |
| 
 | |
| steps:
 | |
| - name: Unit Test and lint
 | |
|   image: golang:1.23-bookworm
 | |
|   commands:
 | |
|   - go mod download
 | |
|   - go test -v ./...
 | |
|   - go vet ./...
 | |
|   group: test-lint
 | |
|   # escalated permissions to avoid runtime/cgo: pthread_create failed: Operation not permitted
 | |
|   # security:
 | |
|   #   syscaps:
 | |
|   #     - SYS_PTRACE
 | |
|   #     - IPC_LOCK
 | |
|   privileged: true
 | |
| 
 | |
| trigger:
 | |
|   event:
 | |
|     - pull_request
 | |
|     - push
 | |
|   branch:
 | |
|     - main
 |