diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 0195fd43..8e9e0d79 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -9,18 +9,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 # Build Docusaurus - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: "18" cache: "npm" cache-dependency-path: "docs/package-lock.json" - name: Cache docusaurus - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: | ${{ github.workspace }}/docs/.docusaurus @@ -43,11 +43,11 @@ jobs: npm run build --prefix docs # Fetch API documentation - - uses: aica-technology/.github/.github/actions/login-to-ghcr@v0.6.1 + - uses: aica-technology/.github/.github/actions/login-to-ghcr@v1.0.4 with: token: ${{ secrets.GITHUB_TOKEN }} - - uses: aica-technology/.github/.github/actions/ghcr-ensure-prefix@v0.6.1 + - uses: aica-technology/.github/.github/actions/ghcr-ensure-prefix@v1.0.4 id: ensure-image with: image_name: aica-technology/api-server-docs @@ -64,7 +64,7 @@ jobs: mkdir -p docs/build/api - name: Extract Swagger from the built image - uses: aica-technology/.github/.github/actions/docker-extract@v0.6.1 + uses: aica-technology/.github/.github/actions/docker-extract@v1.0.4 with: image: ${{ steps.ensure-image.outputs.image_name }}:${{ steps.api-version.outputs.version }} source: / @@ -73,7 +73,7 @@ jobs: # Deploy to GitHub Pages - name: Deploy if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref_name == 'main') - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/build diff --git a/.github/workflows/bundle-schema.yml b/.github/workflows/bundle-schema.yml index 9b0808b9..0000e442 100644 --- a/.github/workflows/bundle-schema.yml +++ b/.github/workflows/bundle-schema.yml @@ -15,7 +15,7 @@ jobs: branch_name: ${{ steps.branch-name.outputs.branch_name }} steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Create new branch id: branch-name shell: bash @@ -47,7 +47,7 @@ jobs: name: Bundle the ${{ matrix.schema }} schema steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v6 - uses: ./.github/actions/bundle-schema with: schema-path: ${{ matrix.schema-path }}/${{ matrix.schema }}.schema.json @@ -59,7 +59,7 @@ jobs: needs: [setup, bundle-schemas] steps: - name: Checkout branch ${{ needs.setup.outputs.branch_name }} - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: ref: ${{ needs.setup.outputs.branch_name }} - name: Create pull request on branch ${{ needs.setup.outputs.branch_name }} diff --git a/.github/workflows/check-python.yml b/.github/workflows/check-python.yml index 16e1dd21..a249e3cb 100644 --- a/.github/workflows/check-python.yml +++ b/.github/workflows/check-python.yml @@ -12,13 +12,13 @@ jobs: run: working-directory: python steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: "3.x" - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: version: "0.9.2" - name: Vet code diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index f55054a8..9ff565ff 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -16,7 +16,7 @@ jobs: version: ${{ steps.versions.outputs.new_version }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: fetch-depth: 2 - id: versions @@ -27,7 +27,7 @@ jobs: PREV_VERSION=$(grep -m 1 version ./python/pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3) echo "prev_version=${PREV_VERSION}" >> $GITHUB_OUTPUT shell: bash - - uses: aica-technology/.github/.github/actions/compare-versions@v0.11.0 + - uses: aica-technology/.github/.github/actions/compare-versions@v1.0.4 id: check with: previous_version: ${{ steps.versions.outputs.prev_version }} @@ -41,13 +41,13 @@ jobs: run: working-directory: python steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: "3.x" - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: version: "0.9.2" - name: Build a binary wheel and a source tarball