diff --git a/.github/workflows/python-bandit.yml b/.github/workflows/python-bandit.yml index 62524b7..50a6991 100644 --- a/.github/workflows/python-bandit.yml +++ b/.github/workflows/python-bandit.yml @@ -16,17 +16,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Security check - Bandit - uses: ioggstream/bandit-report-artifacts@v0.0.2 + uses: ioggstream/bandit-report-artifacts@v1.7.4 with: project_path: . config_file: .bandit.yml # This is optional - name: Security check report artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: Security report path: output/security_report.txt diff --git a/.github/workflows/python-code-style.yml b/.github/workflows/python-code-style.yml index 6eafe3a..536b2e5 100644 --- a/.github/workflows/python-code-style.yml +++ b/.github/workflows/python-code-style.yml @@ -12,13 +12,13 @@ on: workflow_dispatch: jobs: - quality: + format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install dependencies diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml index 2aef7d3..280860d 100644 --- a/.github/workflows/python-lint.yml +++ b/.github/workflows/python-lint.yml @@ -12,13 +12,13 @@ on: workflow_dispatch: jobs: - quality: + lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install dependencies diff --git a/.github/workflows/python-quality.yml b/.github/workflows/python-quality.yml index a32b2f0..171a92d 100644 --- a/.github/workflows/python-quality.yml +++ b/.github/workflows/python-quality.yml @@ -16,9 +16,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install dependencies @@ -28,7 +28,7 @@ jobs: poetry config virtualenvs.create false poetry install --no-root --with dev - name: Test & publish code coverage - uses: paambaati/codeclimate-action@v3.2.0 + uses: paambaati/codeclimate-action@v5.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPORTER_ID }} with: diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 481bcd3..0aa4db3 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -19,9 +19,9 @@ jobs: os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "${{ matrix.version }}" - name: Install dependencies @@ -36,4 +36,3 @@ jobs: - name: Check typing run: | make typing - diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fea8cbb..d217030 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,10 @@ jobs: contents: read steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" @@ -32,7 +32,7 @@ jobs: poetry build - name: Archive the dist folder - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -41,10 +41,10 @@ jobs: - name: Export version for site docs id: docs-version-step run: | - ./ci-scripts/docs-version.sh - echo "Identified version: $(./ci-scripts/docs-version.sh)" - echo "version=$(./ci-scripts/docs-version.sh)" - echo "version=$(./ci-scripts/docs-version.sh)" >> $GITHUB_OUTPUT + ./scripts/docs-version.sh + echo "Identified version: $(./scripts/docs-version.sh)" + echo "version=$(./scripts/docs-version.sh)" + echo "version=$(./scripts/docs-version.sh)" >> $GITHUB_OUTPUT publish: runs-on: ubuntu-latest @@ -55,7 +55,7 @@ jobs: steps: - name: Download the dist folder from the build job - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist path: dist @@ -72,8 +72,8 @@ jobs: # REMOVE CUSTOM REPOSITORY TO # # PUBLISH ON OFFICIAL PYPI # ################################ -# with: -# repository-url: https://test.pypi.org/legacy/ + with: + repository-url: https://test.pypi.org/legacy/ site: needs: build diff --git a/.github/workflows/reusable-github-pages.yml b/.github/workflows/reusable-github-pages.yml index bde5894..17231d4 100644 --- a/.github/workflows/reusable-github-pages.yml +++ b/.github/workflows/reusable-github-pages.yml @@ -37,10 +37,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12"