您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819
  1. name: Code style
  2. on:
  3. push:
  4. branches: [master, features]
  5. pull_request:
  6. branches: [master, features]
  7. jobs:
  8. lint:
  9. runs-on: ubuntu-latest
  10. name: Code Style
  11. steps:
  12. - uses: actions/checkout@v4
  13. - uses: actions/setup-python@v5
  14. with:
  15. python-version: '3.x'
  16. - uses: psf/black@stable