From 409d61ea9c98e0b0adc98189cbd255c2a1d7cb8f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 4 Sep 2026 20:34:07 +0000 Subject: [PATCH 1/2] Initial plan From 3289ac60f3717e29197e5be2992864432cd1d59d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 4 Sep 2026 20:36:06 +0000 Subject: [PATCH 2/2] Replace deprecated workflow actions Co-authored-by: legia314 <221818588+legia314@users.noreply.github.com> --- .github/workflows/master.yml | 4 ++-- .github/workflows/test.yml | 16 ++++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 14a451aaa8..2683f662fb 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -11,9 +11,9 @@ jobs: node-version: [16.x] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0bb972752f..3e1c933403 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,13 +4,17 @@ jobs: test: runs-on: ubuntu-latest steps: - - id: file_changes - uses: trilom/file-changes-action@v1.2.3 - with: - output: 'json' - fileOutput: 'json' - name: Check out repository code - uses: actions/checkout@v2 + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - id: file_changes + name: Determine changed files + env: + BASE_SHA: ${{ github.event.pull_request.base.sha }} + run: | + echo "files_modified=$(git diff --name-only --diff-filter=M "$BASE_SHA" "$GITHUB_SHA" | jq -R -s -c 'split("\n") | map(select(length > 0))')" >> "$GITHUB_OUTPUT" + echo "files_added=$(git diff --name-only --diff-filter=A "$BASE_SHA" "$GITHUB_SHA" | jq -R -s -c 'split("\n") | map(select(length > 0))')" >> "$GITHUB_OUTPUT" - name: Run changes files through test script env: ALCHEMY_CONNECTION_ARBITRUM: ${{ secrets.ALCHEMY_CONNECTION_ARBITRUM }}