mirror of
				https://github.com/ChristianSch/gitea-release-drafter.git
				synced 2025-11-04 05:20:24 +00:00 
			
		
		
		
	chore: updated CI with a test job
This commit is contained in:
		
							parent
							
								
									ef354d18d1
								
							
						
					
					
						commit
						21e2032674
					
				
							
								
								
									
										19
									
								
								.gitea/workflows/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.gitea/workflows/main.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
name: Main
 | 
			
		||||
on: [push]
 | 
			
		||||
jobs:
 | 
			
		||||
  test:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Check out repository
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
      - name: Install Go
 | 
			
		||||
        uses: actions/setup-go@v1
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: 1.19.x
 | 
			
		||||
 | 
			
		||||
      - name: Build
 | 
			
		||||
        run: go build -v ./...
 | 
			
		||||
 | 
			
		||||
      - name: Test
 | 
			
		||||
        run: go test -v ./...
 | 
			
		||||
@ -1,14 +0,0 @@
 | 
			
		||||
name: Release Drafter
 | 
			
		||||
on: [push]
 | 
			
		||||
jobs:
 | 
			
		||||
  release-drafter:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Check out repository
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
    # Inception: install goaction from current code and
 | 
			
		||||
    # update the action files.
 | 
			
		||||
    - name: Install Go
 | 
			
		||||
      uses: actions/setup-go@v1
 | 
			
		||||
      with:
 | 
			
		||||
        go-version: 1.19.x
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user