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

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