Skip to content

Commit

Permalink
change indentation of .github/workflows/*.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 13, 2024
1 parent 6c0ea3b commit 3bfdcb0
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 92 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/gen.yml
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
68 changes: 34 additions & 34 deletions .github/workflows/mdformat.yml
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
50 changes: 25 additions & 25 deletions .github/workflows/plugin-validate.yml
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

0 comments on commit 3bfdcb0

Please sign in to comment.