mirror of
				https://github.com/cdryzun/tg_bot_collections.git
				synced 2025-11-04 08:46:44 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			560 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			560 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: CI
 | 
						|
 | 
						|
on:
 | 
						|
  push:
 | 
						|
    branches: [main]
 | 
						|
  pull_request:
 | 
						|
    branches: [main]
 | 
						|
  workflow_dispatch:
 | 
						|
 | 
						|
concurrency:
 | 
						|
  group: ${{ github.event.number || github.run_id }}
 | 
						|
  cancel-in-progress: true
 | 
						|
 | 
						|
jobs:
 | 
						|
  testing:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
      - uses: actions/checkout@v4
 | 
						|
      - name: install python 3.9
 | 
						|
        uses: actions/setup-python@v5
 | 
						|
        with:
 | 
						|
          python-version: "3.9"
 | 
						|
          cache: "pip" # caching pip dependencies
 | 
						|
      - name: Check formatting (black)
 | 
						|
        run: |
 | 
						|
          pip install black
 | 
						|
          black . --check
 |