mirror of
				https://gitea.com/gitea/act_runner.git
				synced 2025-10-31 12:57:56 +01:00 
			
		
		
		
	Starting from setup-go v4, it will cache build dependencies by default, see https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs. Also bump some versions. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/516 Reviewed-by: silverwind <silverwind@noreply.gitea.com> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Jason Song <i@wolfogre.com> Co-committed-by: Jason Song <i@wolfogre.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			372 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			372 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: checks
 | |
| on:
 | |
|   - push
 | |
|   - pull_request
 | |
| 
 | |
| jobs:
 | |
|   lint:
 | |
|     name: check and test
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - uses: actions/checkout@v4
 | |
|       - uses: actions/setup-go@v5
 | |
|         with:
 | |
|           go-version-file: 'go.mod'
 | |
|       - name: vet checks
 | |
|         run: make vet
 | |
|       - name: build
 | |
|         run: make build
 | |
|       - name: test
 | |
|         run: make test
 |