fix(fwt.md): typo #9067
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check example code | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: OI-wiki Offline Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get changed code files | |
id: changed-files | |
uses: tj-actions/changed-files@v42 | |
with: | |
files: | | |
docs/**/*.cpp | |
- uses: actions/setup-python@v5 | |
if: steps.changed-files.outputs.any_changed == 'true' | |
with: | |
python-version: '3.10' | |
cache: pipenv | |
- name: Install Python dependencies | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python3 | |
pipenv install | |
- name: Install C++ | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: sudo apt-get install -y g++ | |
- name: Make the File list | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: echo "${{ steps.changed-files.outputs.all_changed_files }}" > res.txt | |
- name: Check the Code | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: pipenv run python scripts/test.py |