-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change indentation of .github/workflows/*.yml
- Loading branch information
Showing
3 changed files
with
92 additions
and
92 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
name: "Gen" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
schedule: | ||
- cron: "33 1 * * 3" | ||
push: | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
schedule: | ||
- cron: "33 1 * * 3" | ||
|
||
jobs: | ||
gen: | ||
name: "Generated files check" | ||
runs-on: ubuntu-latest | ||
gen: | ||
name: "Generated files check" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
- name: cd and ls | ||
run: | | ||
cd ${{ github.workspace }} | ||
ls -l | ||
- name: Download dependencies | ||
run: | | ||
python -m pip install toml mako lxml | ||
- name: Generate | ||
run: ./scripts/gen.sh | ||
- name: Check for changes | ||
run: | | ||
CHANGES=$(git diff --name-only HEAD --) | ||
if [ -n "$CHANGES" ] ; then | ||
echo "There are changes after running gen.sh:" | ||
echo "$CHANGES" | ||
git diff | ||
exit 1 | ||
fi | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
- name: cd and ls | ||
run: | | ||
cd ${{ github.workspace }} | ||
ls -l | ||
- name: Download dependencies | ||
run: | | ||
python -m pip install toml mako lxml | ||
- name: Generate | ||
run: ./scripts/gen.sh | ||
- name: Check for changes | ||
run: | | ||
CHANGES=$(git diff --name-only HEAD --) | ||
if [ -n "$CHANGES" ] ; then | ||
echo "There are changes after running gen.sh:" | ||
echo "$CHANGES" | ||
git diff | ||
exit 1 | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
name: "mdformat" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
schedule: | ||
- cron: "33 1 * * 3" | ||
push: | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
schedule: | ||
- cron: "33 1 * * 3" | ||
|
||
jobs: | ||
mdformat: | ||
name: "Markdown format checking" | ||
runs-on: ubuntu-latest | ||
mdformat: | ||
name: "Markdown format checking" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
- name: cd and ls | ||
run: | | ||
cd ${{ github.workspace }} | ||
ls -l | ||
- name: Download dependencies | ||
run: | | ||
python -m pip install mdformat==0.7.18 | ||
- name: Format .md files | ||
run: | | ||
find . -name '*.md' | xargs mdformat | ||
- name: Check for changes | ||
run: | | ||
CHANGES=$(git diff --name-only HEAD --) | ||
if [ -n "$CHANGES" ] ; then | ||
echo "There are changes after running mdformat:" | ||
echo "$CHANGES" | ||
git diff | ||
exit 1 | ||
fi | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
- name: cd and ls | ||
run: | | ||
cd ${{ github.workspace }} | ||
ls -l | ||
- name: Download dependencies | ||
run: | | ||
python -m pip install mdformat==0.7.18 | ||
- name: Format .md files | ||
run: | | ||
find . -name '*.md' | xargs mdformat | ||
- name: Check for changes | ||
run: | | ||
CHANGES=$(git diff --name-only HEAD --) | ||
if [ -n "$CHANGES" ] ; then | ||
echo "There are changes after running mdformat:" | ||
echo "$CHANGES" | ||
git diff | ||
exit 1 | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
name: "Validate Plugins" | ||
|
||
on: | ||
push: | ||
branches: ["master", "github-action"] | ||
pull_request: | ||
schedule: | ||
- cron: "33 1 * * 3" | ||
push: | ||
branches: ["master", "github-action"] | ||
pull_request: | ||
schedule: | ||
- cron: "33 1 * * 3" | ||
|
||
jobs: | ||
ubuntu: | ||
name: Ubuntu | ||
ubuntu: | ||
name: Ubuntu | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.11"] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.11"] | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: cd and ls | ||
run: | | ||
cd ${{ github.workspace }} | ||
ls -l | ||
- name: Validate Plugins | ||
run: python ./scripts/plugin-validate.py | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: cd and ls | ||
run: | | ||
cd ${{ github.workspace }} | ||
ls -l | ||
- name: Validate Plugins | ||
run: python ./scripts/plugin-validate.py |