mirror of
				https://github.com/NotAShelf/tct.git
				synced 2025-10-31 19:32:37 +00:00 
			
		
		
		
	ci: build and test application
This commit is contained in:
		
					parent
					
						
							
								a0955a4f6b
							
						
					
				
			
			
				commit
				
					
						c8ff2dad43
					
				
			
		
					 1 changed files with 24 additions and 0 deletions
				
			
		
							
								
								
									
										24
									
								
								.github/workflows/go.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/go.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| name: "Build & Test CI" | ||||
| on: | ||||
|   push: | ||||
|     branches: [ "main" ] | ||||
|   pull_request: | ||||
|     branches: [ "main" ] | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - name: "Checkout" | ||||
|       uses: actions/checkout@v4 | ||||
| 
 | ||||
|     - name: "Set up Go" | ||||
|       uses: actions/setup-go@v4 | ||||
|       with: | ||||
|         go-version: '1.22' | ||||
| 
 | ||||
|     - name: "Build" | ||||
|       run: go build -v ./. | ||||
| 
 | ||||
|     - name: "Test" | ||||
|       run: go test -v ./. | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 GitHub
					GitHub