Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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: /
Expand All @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/bundle-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down