diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml index b3bf9bc6..1595855f 100644 --- a/.github/actions/install/action.yml +++ b/.github/actions/install/action.yml @@ -10,7 +10,7 @@ runs: run: echo "yarn-cache=$(yarn config get cacheFolder)" >> "$GITHUB_OUTPUT" shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.yarn-cache }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/on-main-push.yml b/.github/workflows/on-main-push.yml index b12536f2..d12629b2 100644 --- a/.github/workflows/on-main-push.yml +++ b/.github/workflows/on-main-push.yml @@ -102,7 +102,7 @@ jobs: run: echo "yarn-cache=$(yarn config get cacheFolder)" >> "$GITHUB_OUTPUT" shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.yarn-cache }} key: ${{ runner.os }}-16-yarn-${{ hashFiles('**/yarn.lock') }} @@ -130,9 +130,10 @@ jobs: path: ./e2e - name: Run benchmark - run: | - git checkout -f main - yarn test:perf + run: yarn test:perf + + - name: Restore state + run: git restore . - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index ba3e0812..83ccadc8 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -88,7 +88,7 @@ jobs: VALIDATE_ALL_CODEBASE: true # ADD CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: megalinter-reports @@ -123,7 +123,7 @@ jobs: run: echo "yarn-cache=$(yarn config get cacheFolder)" >> "$GITHUB_OUTPUT" shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.yarn-cache }} key: ${{ runner.os }}-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 48d5c9eb..c254285a 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -41,7 +41,7 @@ jobs: - name: Functional test run: yarn test:nut - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: coverage-test-report path: reports/coverage