From 36ecf312f2afaecd2ea79fac284420c3ded6d1ab Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Thu, 25 Jan 2024 12:21:19 +0100 Subject: [PATCH] ci: format for better readability Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/cluster_recreate.yml | 9 ++++++--- .github/workflows/static.yml | 12 ++++++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cluster_recreate.yml b/.github/workflows/cluster_recreate.yml index 4d3b46660..3677d188d 100644 --- a/.github/workflows/cluster_recreate.yml +++ b/.github/workflows/cluster_recreate.yml @@ -23,9 +23,12 @@ jobs: with: creds: ${{ secrets.NUNKI_CI_INFRA_AZURE }} - name: Cleanup .azure dir - run: rm $HOME/.azure/{commandIndex.json,versionCheck.json} + run: | + rm $HOME/.azure/{commandIndex.json,versionCheck.json} - name: Destroy existing CI cluster continue-on-error: true - run: nix run .#destroy-coco-aks -- --name="$azure_resource_group" + run: | + nix run .#destroy-coco-aks -- --name="$azure_resource_group" - name: Create CI cluster - run: nix run .#create-coco-aks -- --name="$azure_resource_group" + run: | + nix run .#create-coco-aks -- --name="$azure_resource_group" diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 366bf6f5e..8e453c3d8 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -20,7 +20,8 @@ jobs: name: edgelesssys authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: nix flake check - run: nix -L flake check + run: | + nix -L flake check go-source: runs-on: ubuntu-22.04 @@ -37,7 +38,8 @@ jobs: name: edgelesssys authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: Run code generations & tidying - run: nix run .#generate + run: | + nix run .#generate - name: Check for modifications, commit changes on renovate PRs uses: ./.github/actions/pushdiff with: @@ -57,7 +59,8 @@ jobs: name: edgelesssys authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: Run govulncheck - run: nix run .#govulncheck -- ./... + run: | + nix run .#govulncheck -- ./... golangci-lint: runs-on: ubuntu-22.04 @@ -71,4 +74,5 @@ jobs: name: edgelesssys authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: Run golangci-lint - run: nix run .#golangci-lint -- run + run: | + nix run .#golangci-lint -- run