mirror of
				https://kkgithub.com/actions/setup-python.git
				synced 2025-11-04 12:44:05 +08:00 
			
		
		
		
	Address YAML linting errors
This commit is contained in:
		@ -1,9 +1,10 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
name: 'Setup Python'
 | 
					name: 'Setup Python'
 | 
				
			||||||
description: 'Set up a specific version of Python and add the command-line tools to the PATH'
 | 
					description: 'Set up a specific version of Python and add the command-line tools to the PATH.'
 | 
				
			||||||
author: 'GitHub'
 | 
					author: 'GitHub'
 | 
				
			||||||
inputs:
 | 
					inputs:
 | 
				
			||||||
  python-version:
 | 
					  python-version:
 | 
				
			||||||
    description: 'Version range or exact version of a Python version to use, using semvers version range syntax.'
 | 
					    description: 'Version range or exact version of a Python version to use, using SemVer's version range syntax.'
 | 
				
			||||||
    default: '3.x'
 | 
					    default: '3.x'
 | 
				
			||||||
  architecture:
 | 
					  architecture:
 | 
				
			||||||
    description: 'The target architecture (x86, x64) of the Python interpreter.'
 | 
					    description: 'The target architecture (x86, x64) of the Python interpreter.'
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,7 @@
 | 
				
			|||||||
extends: default
 | 
					extends: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rules:
 | 
					rules:
 | 
				
			||||||
  # 80 chars should be enough, but don't fail if a line is longer
 | 
					  # 120 chars should be enough, but don't fail if a line is longer
 | 
				
			||||||
  line-length:
 | 
					  line-length:
 | 
				
			||||||
    max: 80
 | 
					    max: 120
 | 
				
			||||||
    level: warning
 | 
					    level: warning
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user