From de5293fc120932a99f737ee2e67cfb6da1eb99c9 Mon Sep 17 00:00:00 2001 From: Tihomir Mateev Date: Fri, 28 Feb 2025 17:41:05 +0200 Subject: [PATCH 1/4] Use v4 for checkout and v2 for coveralls --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef4e4b96..95a30648 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: node: [12.x, 14.x, 16.x, 18.x] steps: - name: Git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ inputs.branch || github.event.pull_request.head.ref || github.ref_name }} @@ -35,7 +35,7 @@ jobs: - run: npm run test:cov || npm run test:cov || npm run test:cov - name: Coveralls if: matrix.node == '18.x' - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@2 with: github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: node-${{matrix.node}} From b6fa55e5520d677b45b6c695f5c1a6b85ae7d774 Mon Sep 17 00:00:00 2001 From: Tihomir Mateev Date: Fri, 28 Feb 2025 17:42:44 +0200 Subject: [PATCH 2/4] =?UTF-8?q?T=D1=8Ap=D0=BE=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 95a30648..4b559657 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: - run: npm run test:cov || npm run test:cov || npm run test:cov - name: Coveralls if: matrix.node == '18.x' - uses: coverallsapp/github-action@2 + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: node-${{matrix.node}} From 6f79a93d21145556998c641fa75d14b421521ae7 Mon Sep 17 00:00:00 2001 From: Tihomir Mateev Date: Fri, 28 Feb 2025 17:45:09 +0200 Subject: [PATCH 3/4] Hm --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4b559657..303a572b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true From 9396178f2b915947c973ebae74f1f025e0b38181 Mon Sep 17 00:00:00 2001 From: Tihomir Mateev Date: Fri, 28 Feb 2025 17:51:22 +0200 Subject: [PATCH 4/4] Remove the refs --- .github/workflows/test.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 303a572b..8cea83c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,5 @@ on: workflow_call: - inputs: - branch: - required: false - type: string jobs: test: @@ -15,8 +11,6 @@ jobs: steps: - name: Git checkout uses: actions/checkout@v4 - with: - ref: ${{ inputs.branch || github.event.pull_request.head.ref || github.ref_name }} - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1