mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 05:25:15 +01:00 
			
		
		
		
	Replace setup-python with setup-uv (#35116)
				
					
				
			This commit is contained in:
		
							parent
							
								
									c4f5b2b531
								
							
						
					
					
						commit
						3531e9dbfd
					
				
							
								
								
									
										12
									
								
								.github/workflows/pull-compliance.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/pull-compliance.yml
									
									
									
									
										vendored
									
									
								
							@ -32,15 +32,13 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
      - uses: actions/setup-python@v5
 | 
					      - uses: astral-sh/setup-uv@v6
 | 
				
			||||||
        with:
 | 
					      - run: uv python install 3.12
 | 
				
			||||||
          python-version: "3.12"
 | 
					 | 
				
			||||||
      - uses: actions/setup-node@v4
 | 
					      - uses: actions/setup-node@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          node-version: 24
 | 
					          node-version: 24
 | 
				
			||||||
          cache: npm
 | 
					          cache: npm
 | 
				
			||||||
          cache-dependency-path: package-lock.json
 | 
					          cache-dependency-path: package-lock.json
 | 
				
			||||||
      - run: pip install uv
 | 
					 | 
				
			||||||
      - run: make deps-py
 | 
					      - run: make deps-py
 | 
				
			||||||
      - run: make deps-frontend
 | 
					      - run: make deps-frontend
 | 
				
			||||||
      - run: make lint-templates
 | 
					      - run: make lint-templates
 | 
				
			||||||
@ -51,10 +49,8 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
      - uses: actions/setup-python@v5
 | 
					      - uses: astral-sh/setup-uv@v6
 | 
				
			||||||
        with:
 | 
					      - run: uv python install 3.12
 | 
				
			||||||
          python-version: "3.12"
 | 
					 | 
				
			||||||
      - run: pip install uv
 | 
					 | 
				
			||||||
      - run: make deps-py
 | 
					      - run: make deps-py
 | 
				
			||||||
      - run: make lint-yaml
 | 
					      - run: make lint-yaml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user