diff --git a/.github/library/setup/action.yml b/.github/library/setup/action.yml index b9f509c7..f8c2242f 100644 --- a/.github/library/setup/action.yml +++ b/.github/library/setup/action.yml @@ -9,8 +9,6 @@ inputs: runs: using: "composite" steps: - - name: Checkout actions - uses: actions/checkout@v4 - name: Set up Python ${{ inputs.python-version }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/RELEASE.yml b/.github/workflows/RELEASE.yml index af0886b5..a2a96311 100644 --- a/.github/workflows/RELEASE.yml +++ b/.github/workflows/RELEASE.yml @@ -17,6 +17,7 @@ jobs: && ${{ contains(github.event.pull_request.labels.*.name, 'release') }} runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Build project for distribution run: poetry build diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7bc21b69..e04fb4c7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,6 +10,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - run: pip install mkdocs-material - run: pip install mkdocs-glightbox diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 02aea862..b211fe1e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,6 +5,7 @@ jobs: yaml-lint: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: yaml Lint uses: ibiqlik/action-yamllint@v3 @@ -12,6 +13,7 @@ jobs: runs-on: ubuntu-latest name: flake8 Lint steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Set up Python environment uses: py-actions/flake8@v2 @@ -19,5 +21,6 @@ jobs: runs-on: ubuntu-latest name: ruff Lint steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - uses: chartboost/ruff-action@v1 diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 9f336274..ae3e04ee 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -8,6 +8,7 @@ jobs: matrix: python-version: ["3.10", "3.11", "3.12"] steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Install dependencies run: | diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 4a3b00b0..8da742d7 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -14,6 +14,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Lint with flake8 run: | diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index fc303c9a..1360b0be 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,6 +16,7 @@ jobs: matrix: python-version: ["3.10", "3.11", "3.12"] steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e2b9bdd7..bbeec600 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -9,6 +9,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Build package run: python -m build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab4f4927..17538857 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,7 @@ jobs: - "3.10" - "3.11" steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/test_pr.yml b/.github/workflows/test_pr.yml index 4e6a9e20..44ec883a 100644 --- a/.github/workflows/test_pr.yml +++ b/.github/workflows/test_pr.yml @@ -15,6 +15,7 @@ jobs: name: pytype 3.10 runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Run pytype run: | @@ -26,6 +27,7 @@ jobs: name: Check format with black runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Check format run: | diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 42ffb5bd..ab509666 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -8,6 +8,7 @@ jobs: test: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Set up Python uses: actions/setup-python@v5 diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index efd398c6..44394f1e 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -9,6 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/library/setup - name: Install dependencies run: |