ci: use gitea actions instead of drone #40
| 
						 | 
					@ -17,12 +17,16 @@ jobs:
 | 
				
			||||||
              uses: https://gitea.com/actions/setup-go@v3
 | 
					              uses: https://gitea.com/actions/setup-go@v3
 | 
				
			||||||
              with:
 | 
					              with:
 | 
				
			||||||
                  go-version: 1.23.1
 | 
					                  go-version: 1.23.1
 | 
				
			||||||
 | 
					            - name: Sanity Check
 | 
				
			||||||
 | 
					              run: |
 | 
				
			||||||
 | 
					                  ls -lha
 | 
				
			||||||
 | 
					                  whoami
 | 
				
			||||||
            - name: Display Go version
 | 
					            - name: Display Go version
 | 
				
			||||||
              run: go version
 | 
					              run: go version
 | 
				
			||||||
            - name: Prepare
 | 
					            - name: Prepare
 | 
				
			||||||
              run: |
 | 
					              run: |
 | 
				
			||||||
                  go env -w GOPROXY=https://goproxy.cn,direct
 | 
					                  go env -w GOPROXY=https://goproxy.cn,direct
 | 
				
			||||||
                  chown -R root:root .ssh
 | 
					                  chown -R root:root /root/.ssh
 | 
				
			||||||
            - name: Build
 | 
					            - name: Build
 | 
				
			||||||
              run: make build
 | 
					              run: make build
 | 
				
			||||||
            - name: Test
 | 
					            - name: Test
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user