Skip to content

Commit

Permalink
fix indentation issues with actions
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniouaa committed Apr 10, 2024
1 parent 0f26a12 commit cb895b9
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 50 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Linting
on: [push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4

- name: Checkout black and run it
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./krypto"
- name: Checkout black and run it
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./krypto"
30 changes: 15 additions & 15 deletions .github/workflows/krypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Krypto
on: [push]

jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate issues
id: launch
uses: antoniouaa/krypto@v2
with:
dir: "."
env:
KRYPTO_TOKEN: ${{secrets.KRYPTO_TOKEN}}
- name: Generate issues
id: launch
uses: antoniouaa/krypto@v2
with:
dir: "."
env:
KRYPTO_TOKEN: ${{secrets.KRYPTO_TOKEN}}

- name: Output quantity
run: |
echo "${{steps.launch.outputs.quantity}} TODOs created"
- name: Output quantity
run: |
echo "${{steps.launch.outputs.quantity}} TODOs created"
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install python 3.11
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.11

- uses: actions/checkout@v4
- name: Setup PDM
Expand All @@ -23,9 +23,9 @@ jobs:

- name: Run the tests
run: |
pdm run task test
pdm run coveralls --service=github
pdm run task test
pdm run coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KRYPTO_TOKEN: ${{ secrets.KRYPTO_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KRYPTO_TOKEN: ${{ secrets.KRYPTO_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
34 changes: 17 additions & 17 deletions .github/workflows/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ name: MyPy
on: [push]

jobs:
type-checking:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
type-checking:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4

- name: Install python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11

- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v4

- name: Install dependencies
run: pdm install
- name: Install dependencies
run: pdm install

- name: Run the typechecking with mypy
run: |
pdm run task mypy
- name: Run the typechecking with mypy
run: |
pdm run task mypy

0 comments on commit cb895b9

Please sign in to comment.