From 24f23e2573ee13f37455d6041d9d938942fd51a2 Mon Sep 17 00:00:00 2001 From: Petar Vujovic Date: Tue, 18 Jun 2024 11:37:56 +0200 Subject: [PATCH] chore(format): format workflow files --- .github/workflows/ci-native.yml | 13 ++++++------- .github/workflows/ci-risc0.yml | 15 +++++++-------- .github/workflows/ci-sgx-all.yml | 26 +++++++++++++------------- .github/workflows/ci-sgx-hardware.yml | 10 +++++----- .github/workflows/ci-sp1.yml | 12 ++++++------ .github/workflows/openapi-deploy.yml | 2 +- 6 files changed, 38 insertions(+), 40 deletions(-) diff --git a/.github/workflows/ci-native.yml b/.github/workflows/ci-native.yml index 4621e7226..0c1ab7874 100644 --- a/.github/workflows/ci-native.yml +++ b/.github/workflows/ci-native.yml @@ -2,11 +2,10 @@ name: CI - Native on: workflow_call - jobs: - build-test-native: - name: Build and test native - uses: ./.github/workflows/ci-build-test-reusable.yml - with: - version_name: "native" - version_toolchain: "nightly-2024-04-17" + build-test-native: + name: Build and test native + uses: ./.github/workflows/ci-build-test-reusable.yml + with: + version_name: "native" + version_toolchain: "nightly-2024-04-17" diff --git a/.github/workflows/ci-risc0.yml b/.github/workflows/ci-risc0.yml index bc0d95f2f..126d106b9 100644 --- a/.github/workflows/ci-risc0.yml +++ b/.github/workflows/ci-risc0.yml @@ -1,6 +1,6 @@ name: CI - RISC0 -on: +on: workflow_call: push: branches: ["main"] @@ -10,11 +10,10 @@ on: paths: - "provers/risc0/**" - jobs: - build-test-risc0: - name: Build and test risc0 - uses: ./.github/workflows/ci-build-test-reusable.yml - with: - version_name: "risc0" - version_toolchain: "stable" + build-test-risc0: + name: Build and test risc0 + uses: ./.github/workflows/ci-build-test-reusable.yml + with: + version_name: "risc0" + version_toolchain: "stable" diff --git a/.github/workflows/ci-sgx-all.yml b/.github/workflows/ci-sgx-all.yml index d08512cf8..e8af4b923 100644 --- a/.github/workflows/ci-sgx-all.yml +++ b/.github/workflows/ci-sgx-all.yml @@ -11,17 +11,17 @@ on: - "provers/sgx/**" jobs: - build-test-sgx: - name: Build and test sgx - uses: ./.github/workflows/ci-build-test-reusable.yml - with: - version_name: "sgx" - version_toolchain: "stable" + build-test-sgx: + name: Build and test sgx + uses: ./.github/workflows/ci-build-test-reusable.yml + with: + version_name: "sgx" + version_toolchain: "stable" - build-test-sgx-docker: - name: Build and test sgx with Docker - uses: ./.github/workflows/ci-sgx-docker.yml - - build-test-sgx-hardware: - name: Build and test sgx in hardware - uses: ./.github/workflows/ci-sgx-hardware.yml + build-test-sgx-docker: + name: Build and test sgx with Docker + uses: ./.github/workflows/ci-sgx-docker.yml + + build-test-sgx-hardware: + name: Build and test sgx in hardware + uses: ./.github/workflows/ci-sgx-hardware.yml diff --git a/.github/workflows/ci-sgx-hardware.yml b/.github/workflows/ci-sgx-hardware.yml index 53c648d8b..6efa67ae8 100644 --- a/.github/workflows/ci-sgx-hardware.yml +++ b/.github/workflows/ci-sgx-hardware.yml @@ -11,7 +11,7 @@ jobs: TARGET: sgx CI: 1 EDMM: 0 - + steps: - uses: actions/checkout@v4 with: @@ -21,15 +21,15 @@ jobs: with: toolchain: stable profile: minimal - + - name: Install cargo-binstall uses: cargo-bins/cargo-binstall@v1.6.4 - + - name: Install sgx run: make install - + - name: Build sgx prover run: make build - + - name: Test sgx prover run: make test diff --git a/.github/workflows/ci-sp1.yml b/.github/workflows/ci-sp1.yml index 6c0654b98..85844908b 100644 --- a/.github/workflows/ci-sp1.yml +++ b/.github/workflows/ci-sp1.yml @@ -11,9 +11,9 @@ on: - "provers/sp1/**" jobs: - build-test-sgx: - name: Build and test sp1 - uses: ./.github/workflows/ci-build-test-reusable.yml - with: - version_name: "sp1" - version_toolchain: "nightly-2024-04-18" + build-test-sgx: + name: Build and test sp1 + uses: ./.github/workflows/ci-build-test-reusable.yml + with: + version_name: "sp1" + version_toolchain: "nightly-2024-04-18" diff --git a/.github/workflows/openapi-deploy.yml b/.github/workflows/openapi-deploy.yml index a27375797..f0354dac0 100644 --- a/.github/workflows/openapi-deploy.yml +++ b/.github/workflows/openapi-deploy.yml @@ -43,7 +43,7 @@ jobs: if: github.ref == 'refs/heads/main' uses: actions/upload-pages-artifact@v2 with: - path: './openapi' + path: "./openapi" - name: Deploy to GitHub Pages if: github.ref == 'refs/heads/main'