25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: "Run tests"
-
- on:
- - push
- - pull_request
-
- env:
- FORMAT_FILE: README.md
-
- jobs:
- test:
- name: 'Validate README.md'
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- - name: Validate Markdown format
- run: build/validate_format.py ${FORMAT_FILE}
-
- - name: Validate pull request changes
- run: build/github-pull.sh ${{ github.repository }} ${{ github.event.pull_request.number }} ${FORMAT_FILE}
- if: github.event_name == 'pull_request'
|