mirror of
				https://gitea.com/gitea/gitea-mcp.git
				synced 2025-11-04 04:11:50 +00:00 
			
		
		
		
	Add ci for pull request
This commit is contained in:
		
							
								
								
									
										16
									
								
								.gitea/workflows/test-pr.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.gitea/workflows/test-pr.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
name: check-and-test
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  - pull_request
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  check-and-test:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - uses: actions/setup-go@v5
 | 
			
		||||
        with:
 | 
			
		||||
          go-version-file: 'go.mod'
 | 
			
		||||
      - name: build
 | 
			
		||||
        run: |
 | 
			
		||||
          make build
 | 
			
		||||
		Reference in New Issue
	
	Block a user