From 87a60be3c810f2a7710d2829cbe8ee5b55741c33 Mon Sep 17 00:00:00 2001 From: "fresha-spinach[bot]" <188200566+fresha-spinach[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 13:53:49 +0000 Subject: [PATCH] `workflowlint` autofixes base-tree-sha: c69394d59d702853ea6b9a6009ef9ffd5e0d9ef0 head-tree-sha: 989f4fd58f667162bde02fd25b622ccd3f3f95c0 base-commit-sha: 926b70f2f6e45af965bdde69b7e5bbd624e82783 --- .github/workflows/ci.yml | 40 ++++++++++++------------------ .github/workflows/dev-publish.yaml | 10 +++----- 2 files changed, 19 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8939532be..e06d371e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,4 @@ name: Elixir CI Checks - env: DEBIAN_FRONTEND: noninteractive DEPENDENCY_FILE: mix.lock @@ -10,11 +9,9 @@ env: REPOSITORY: grpc RUNNER_OS: ubuntu20 # Must match Elixir/OTP version in described in action erlef/setup-beam@v1 SHA: ${{ github.sha }} - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true - on: push: branches: @@ -24,11 +21,10 @@ on: - synchronize - opened - reopened - jobs: static: name: Static Checks (Elixir ${{ matrix.elixir }} & OTP ${{ matrix.otp }}) - runs-on: runs-on,runner=2cpu-linux-x64 + runs-on: "runs-on/runner=2cpu-linux-x64/run-id=${{ github.run_id }}" outputs: HASH: ${{ steps.hash.outputs.HASH }} strategy: @@ -99,7 +95,7 @@ jobs: mix hex.publish --dry-run test: name: Unit Tests (Elixir ${{ matrix.elixir }} & OTP ${{ matrix.otp }}) - runs-on: runs-on,runner=2cpu-linux-x64 + runs-on: "runs-on/runner=2cpu-linux-x64/run-id=${{ github.run_id }}" strategy: fail-fast: false matrix: @@ -165,7 +161,7 @@ jobs: permit: name: Permit Package Publishing needs: [static, test] - runs-on: runs-on,runner=1cpu-linux-x64 + runs-on: "runs-on/runner=1cpu-linux-x64/run-id=${{ github.run_id }}" outputs: PUBLISH: ${{ steps.version.outputs.PUBLISH }} steps: @@ -211,11 +207,10 @@ jobs: with: path: approval.txt key: ${{ runner.os }}-${{ env.REPOSITORY }}-approval-${{ needs.static.outputs.HASH }} - publish: name: Publish Hex Package needs: [permit] - runs-on: runs-on,runner=2cpu-linux-x64 + runs-on: "runs-on/runner=2cpu-linux-x64/run-id=${{ github.run_id }}" if: needs.permit.outputs.PUBLISH == 'true' && github.event_name == 'push' steps: - name: Checkout latest codebase @@ -247,27 +242,24 @@ jobs: run: | echo "Publishing package" mix hex.publish --yes - - interop-tests: - runs-on: runs-on,runner=2cpu-linux-x64 + runs-on: "runs-on/runner=2cpu-linux-x64/run-id=${{ github.run_id }}" name: Interop tests container: image: elixir:1.10-slim steps: - - uses: actions/checkout@v4 - - name: Install Dependencies - run: | - mix local.rebar --force - mix local.hex --force - mix deps.get - working-directory: ./interop - - name: Run interop tests - run: mix run script/run.exs - working-directory: ./interop - + - uses: actions/checkout@v4 + - name: Install Dependencies + run: | + mix local.rebar --force + mix local.hex --force + mix deps.get + working-directory: ./interop + - name: Run interop tests + run: mix run script/run.exs + working-directory: ./interop check_release: - runs-on: runs-on,runner=2cpu-linux-x64 + runs-on: "runs-on/runner=2cpu-linux-x64/run-id=${{ github.run_id }}" name: Check release container: image: elixir:1.10-slim diff --git a/.github/workflows/dev-publish.yaml b/.github/workflows/dev-publish.yaml index 37009ab0c..681b70ec7 100644 --- a/.github/workflows/dev-publish.yaml +++ b/.github/workflows/dev-publish.yaml @@ -1,5 +1,4 @@ name: Elixir Dev Publish - env: DEBIAN_FRONTEND: noninteractive DEPENDENCY_FILE: mix.lock @@ -10,19 +9,16 @@ env: REPOSITORY: grpc RUNNER_OS: ubuntu20 # Must match Elixir/OTP version in described in action erlef/setup-beam@v1 SHA: ${{ github.sha }} - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true - on: workflow_dispatch: inputs: {} - jobs: dev-publish: name: Dev Publish - runs-on: runs-on,runner=4cpu-linux-x64 + runs-on: "runs-on/runner=4cpu-linux-x64/run-id=${{ github.run_id }}" steps: - name: Checkout latest codebase uses: actions/checkout@v4 @@ -71,6 +67,6 @@ jobs: shell: bash env: HEX_API_KEY: ${{ secrets.HEX_ORGANIZATION_WRITE_KEY }} - run: | + run: |- echo "Publishing dev package" - mix hex.publish --yes \ No newline at end of file + mix hex.publish --yes