Skip to content

Commit

Permalink
test push from outside contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
marcella-found committed Feb 16, 2024
1 parent 47280b4 commit e0f6f33
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/yapf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,17 @@ on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main

jobs:
yapf:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
runs-on: test-label
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- uses: actions/checkout@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install yapf==0.32.0
pip install toml==0.10.2
- name: Running yapf
fetch-depth: 0
submodules: recursive

- name: hello
run: |
yapf --diff --recursive .
echo "hello world ... "

0 comments on commit e0f6f33

Please sign in to comment.