diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 872cd5d0db..1fd4bb1099 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -13,16 +13,16 @@ jobs: matrix: node-version: [16.x, 18.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Get Yarn version - run: echo "::set-output name=YARN_VERSION::$(yarn --version)" + run: echo "YARN_VERSION=$(yarn --version)" >> $GITHUB_OUTPUT id: yarn-version - name: Cache yarn dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .yarn/cache key: yarn-cache-${{ runner.os }}-${{ steps.yarn-version.outputs.YARN_VERSION }}-${{ hashFiles('yarn.lock') }} @@ -60,15 +60,16 @@ jobs: matrix: os: [macOS-latest, windows-latest] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 18.x - name: Get Yarn version - run: echo "::set-output name=YARN_VERSION::$(yarn --version)" + run: echo "YARN_VERSION=$(yarn --version)" >> $GITHUB_OUTPUT + shell: bash id: yarn-version - name: Cache yarn dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .yarn/cache key: yarn-cache-${{ runner.os }}-${{ steps.yarn-version.outputs.YARN_VERSION }}-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index e843833d04..2d8a2cc8c8 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -21,7 +21,7 @@ jobs: contents: write pull-requests: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # This is to guarantee that the most recent tag is fetched. # This can be configured to a more reasonable value by consumers. @@ -31,8 +31,8 @@ jobs: ref: ${{ github.event.inputs.base-branch }} - name: Get Node.js version id: nvm - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) - - uses: actions/setup-node@v2 + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - uses: actions/setup-node@v3 with: node-version: ${{ steps.nvm.outputs.NODE_VERSION }} - uses: MetaMask/action-create-release-pr@v1 @@ -43,7 +43,7 @@ jobs: release-version: ${{ github.event.inputs.release-version }} artifacts-path: gh-action__release-authors # Upload the release author artifact for use in subsequent workflows - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: release-authors path: gh-action__release-authors diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index d1b9938d4a..b64bddcebb 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -22,13 +22,13 @@ jobs: runs-on: ubuntu-latest needs: is-release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.sha }} - name: Get Node.js version id: nvm - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) - - uses: actions/setup-node@v2 + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - uses: actions/setup-node@v3 with: node-version: ${{ steps.nvm.outputs.NODE_VERSION }} - uses: MetaMask/action-publish-release@v2.0.0 @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest needs: publish-release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.sha }} - uses: actions/cache@v3 @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest needs: npm-publish-dry-run steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.sha }} - uses: actions/cache@v3 diff --git a/.github/workflows/require-additional-reviewer.yml b/.github/workflows/require-additional-reviewer.yml index 1ea1c06263..ea46ee9beb 100644 --- a/.github/workflows/require-additional-reviewer.yml +++ b/.github/workflows/require-additional-reviewer.yml @@ -13,7 +13,7 @@ jobs: statuses: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # If the base branch has been merged into the release branch, we # need to find the earliest common ancestor commit of the base and