diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 472eaed57cb2..fd000ba19665 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: # https://github.com/actions/runner/issues/438 steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 100 - run: bash core/scripts/github-actions-commit-range.sh @@ -29,7 +29,7 @@ jobs: GITHUB_CONTEXT_BASE_SHA: ${{ github.event.before }} - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/cron-weekly.yml b/.github/workflows/cron-weekly.yml index 369b00bbc9fe..8c8aee48bb6c 100644 --- a/.github/workflows/cron-weekly.yml +++ b/.github/workflows/cron-weekly.yml @@ -8,7 +8,7 @@ jobs: check-links: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v3 - uses: gaurav-nelson/github-action-markdown-link-check@v1 # checks all markdown files from /docs including all subfolders with: @@ -16,7 +16,7 @@ jobs: use-verbose-mode: 'yes' config-file: '.github/workflows/markdown.links.config.json' folder-path: 'docs/' - - uses: actions/checkout@master + - uses: actions/checkout@v3 - uses: gaurav-nelson/github-action-markdown-link-check@v1 # checks all markdown files from root but ignores subfolders with: @@ -30,9 +30,9 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x - run: yarn --frozen-lockfile diff --git a/.github/workflows/devtools.yml b/.github/workflows/devtools.yml index 9da2a2671c7c..e00c1b4b2633 100644 --- a/.github/workflows/devtools.yml +++ b/.github/workflows/devtools.yml @@ -21,12 +21,12 @@ jobs: run: echo "$DEPOT_TOOLS_PATH" >> $GITHUB_PATH - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: lighthouse - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x @@ -87,12 +87,12 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: lighthouse - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x @@ -132,12 +132,12 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: lighthouse - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/package-test.yml b/.github/workflows/package-test.yml index e2556f3456b7..aee0150d0aa6 100644 --- a/.github/workflows/package-test.yml +++ b/.github/workflows/package-test.yml @@ -17,10 +17,10 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index be8eb6db86f0..0abf5a1b4090 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: outputs: should_run: ${{ steps.should_run.outputs.should_run }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: print latest_commit run: echo ${{ github.sha }} @@ -28,8 +28,8 @@ jobs: (github.repository == 'GoogleChrome/lighthouse' && ${{ needs.check_date.outputs.should_run != 'false' }}) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 16.x registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 1cf152dd94dc..da08f3599941 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -30,13 +30,13 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # Depth of at least 2 for codecov coverage diffs. See https://github.com/GoogleChrome/lighthouse/pull/12079 fetch-depth: 2 - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x @@ -62,7 +62,7 @@ jobs: - name: Upload test coverage to Codecov if: matrix.chrome-channel == 'ToT' - uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d with: flags: smoke file: ./smoke-coverage.lcov @@ -88,11 +88,11 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Use Node 18 here earlier than everywhere else, see https://github.com/GoogleChrome/lighthouse/issues/15160#issuecomment-1589913408 - name: Use Node.js 18.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 18.x @@ -136,10 +136,10 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index c0a16ecad219..40d3a3005acf 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -23,13 +23,13 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # Depth of at least 2 for codecov coverage diffs. See https://github.com/GoogleChrome/lighthouse/pull/12079 fetch-depth: 2 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} @@ -75,7 +75,7 @@ jobs: yarn c8 report --reporter text-lcov > unit-coverage.lcov - name: Upload test coverage to Codecov if: ${{ matrix.node == env.LATEST_NODE }} - uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d with: flags: unit file: ./unit-coverage.lcov @@ -91,10 +91,10 @@ jobs: steps: - name: git clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x