From cbb65da20982b91455735ff1b5d40da33d26f038 Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Wed, 5 Jun 2024 15:22:08 -0500 Subject: [PATCH] format CI files --- .github/workflows/build-ollama-serve.yml | 4 +-- .github/workflows/docs.yml | 6 ++-- .github/workflows/extension_ci.yml | 40 ++++++++++++------------ 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build-ollama-serve.yml b/.github/workflows/build-ollama-serve.yml index 7ef41f8..800a9e9 100644 --- a/.github/workflows/build-ollama-serve.yml +++ b/.github/workflows/build-ollama-serve.yml @@ -24,7 +24,7 @@ defaults: run: shell: bash working-directory: ./ollama-serve/ - + jobs: build_and_push: name: Build and push images @@ -43,7 +43,7 @@ jobs: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - + - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d89f155..312f501 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,8 +4,8 @@ on: branches: - main paths: - - 'docs/**' - - '.github/workflows/docs.yml' + - "docs/**" + - ".github/workflows/docs.yml" jobs: deploy: runs-on: ubuntu-latest @@ -19,5 +19,5 @@ jobs: - name: deploy docs env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: poetry run mkdocs gh-deploy --force diff --git a/.github/workflows/extension_ci.yml b/.github/workflows/extension_ci.yml index 427dd0e..a844e52 100644 --- a/.github/workflows/extension_ci.yml +++ b/.github/workflows/extension_ci.yml @@ -10,13 +10,13 @@ on: branches: - main paths-ignore: - - 'README.md' + - "README.md" - docs/** push: branches: - main paths-ignore: - - 'README.md' + - "README.md" - docs/** release: @@ -39,12 +39,12 @@ jobs: - name: Install stoml and pg-trunk shell: bash run: | - set -xe - wget https://github.com/freshautomations/stoml/releases/download/v0.7.1/stoml_linux_amd64 &> /dev/null - mv stoml_linux_amd64 stoml - chmod +x stoml - sudo mv stoml /usr/local/bin/ - cargo install pg-trunk + set -xe + wget https://github.com/freshautomations/stoml/releases/download/v0.7.1/stoml_linux_amd64 &> /dev/null + mv stoml_linux_amd64 stoml + chmod +x stoml + sudo mv stoml /usr/local/bin/ + cargo install pg-trunk - name: Cache binaries uses: actions/cache@v2 @@ -156,12 +156,12 @@ jobs: - name: Install stoml and pg-trunk shell: bash run: | - set -xe - wget https://github.com/freshautomations/stoml/releases/download/v0.7.1/stoml_linux_amd64 &> /dev/null - mv stoml_linux_amd64 stoml - chmod +x stoml - sudo mv stoml /usr/local/bin/ - cargo install pg-trunk + set -xe + wget https://github.com/freshautomations/stoml/releases/download/v0.7.1/stoml_linux_amd64 &> /dev/null + mv stoml_linux_amd64 stoml + chmod +x stoml + sudo mv stoml /usr/local/bin/ + cargo install pg-trunk - name: trunk build working-directory: ./extension # trunk does not support path dependencies in Cargo.toml that are not within the current working directory @@ -180,7 +180,7 @@ jobs: needs: - publish env: - TARGET_PLATFORMS: linux/amd64,linux/arm64 + TARGET_PLATFORMS: linux/amd64,linux/arm64 runs-on: - self-hosted - dind @@ -198,11 +198,11 @@ jobs: - name: Install stoml and pg-trunk shell: bash run: | - set -xe - wget https://github.com/freshautomations/stoml/releases/download/v0.7.1/stoml_linux_amd64 &> /dev/null - mv stoml_linux_amd64 stoml - chmod +x stoml - sudo mv stoml /usr/local/bin/ + set -xe + wget https://github.com/freshautomations/stoml/releases/download/v0.7.1/stoml_linux_amd64 &> /dev/null + mv stoml_linux_amd64 stoml + chmod +x stoml + sudo mv stoml /usr/local/bin/ - name: Set version strings id: versions run: |