diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index cc7e5d0..23bc85e 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -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" diff --git a/.github/workflows/krypto.yml b/.github/workflows/krypto.yml index 606677f..943399a 100644 --- a/.github/workflows/krypto.yml +++ b/.github/workflows/krypto.yml @@ -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" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d2a3f0..8b2df28 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 }} diff --git a/.github/workflows/types.yml b/.github/workflows/types.yml index 58ad1b7..49bd1c3 100644 --- a/.github/workflows/types.yml +++ b/.github/workflows/types.yml @@ -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