mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Migrate from Travis CI to GitHub Actions (#603)
This commit is contained in:
		
							parent
							
								
									0764091e03
								
							
						
					
					
						commit
						2d46beea5d
					
				
					 3 changed files with 42 additions and 15 deletions
				
			
		
							
								
								
									
										41
									
								
								.github/workflows/ci.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								.github/workflows/ci.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,41 @@ | |||
| name: CI | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|   pull_request: | ||||
|   schedule: | ||||
|     - cron: "0 3 * * 1" # Every monday at 3 AM | ||||
| 
 | ||||
| jobs: | ||||
|   test: | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|       matrix: | ||||
|         os: [ubuntu-latest, macos-latest] | ||||
|         crystal: [latest, nightly] | ||||
|     runs-on: ${{ matrix.os }} | ||||
| 
 | ||||
|     steps: | ||||
|       - name: Install Crystal | ||||
|         uses: oprypin/install-crystal@v1 | ||||
|         with: | ||||
|           crystal: ${{ matrix.crystal }} | ||||
| 
 | ||||
|       - name: Download source | ||||
|         uses: actions/checkout@v2 | ||||
| 
 | ||||
|       - name: Install dependencies | ||||
|         run: shards install | ||||
|         env: | ||||
|           SHARDS_OPTS: --ignore-crystal-version | ||||
| 
 | ||||
|       - name: Run specs | ||||
|         run: | | ||||
|           crystal spec | ||||
|           crystal spec --release --no-debug | ||||
| 
 | ||||
|       - name: Check formatting | ||||
|         run: crystal tool format --check | ||||
| 
 | ||||
|       - name: Run ameba linter | ||||
|         run: bin/ameba | ||||
							
								
								
									
										14
									
								
								.travis.yml
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								.travis.yml
									
										
									
									
									
								
							|  | @ -1,14 +0,0 @@ | |||
| language: crystal | ||||
| crystal: | ||||
|   - latest | ||||
|   - nightly | ||||
| 
 | ||||
| script: | ||||
|   - crystal spec | ||||
|   - crystal spec --release --no-debug | ||||
|   - crystal tool format --check | ||||
|   - bin/ameba src | ||||
| 
 | ||||
| matrix: | ||||
|   allow_failures: | ||||
|     - crystal: nightly | ||||
|  | @ -5,7 +5,7 @@ | |||
| 
 | ||||
| Lightning Fast, Super Simple web framework. | ||||
| 
 | ||||
| [](https://travis-ci.org/kemalcr/kemal) | ||||
| [](https://github.com/kemalcr/kemal/actions/workflows/ci.yml) | ||||
| [](https://gitter.im/sdogruyol/kemal?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||||
| 
 | ||||
| # Super Simple ⚡️ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue