diff --git a/.github/workflows/ci-publish-base-image.yml b/.github/workflows/ci-publish-base-image.yml index 08704fb0cafc..c81bdca2526e 100644 --- a/.github/workflows/ci-publish-base-image.yml +++ b/.github/workflows/ci-publish-base-image.yml @@ -20,7 +20,7 @@ jobs: TAG: github-1 DOCKERHUB_ORG: libra steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 - name: build image run: docker build -f docker/ci/github/Dockerfile -t ${{ env.DOCKERHUB_ORG }}/build_environment:${{ env.TAG }} . - name: Sign in to dockerhub, install image signing cert. diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 348ae875faff..55de21007f79 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -19,7 +19,7 @@ jobs: test-website-build: ${{ steps.website-changes.outputs.changes-found }} test-non-rust-lint: ${{ steps.non-rust-lint-changes.outputs.changes-found }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: # This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip # On `push` this value will be empty and will "do-the-right-thing" @@ -62,7 +62,7 @@ jobs: matrix: target_os: [alpine, arch, centos, github] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} - name: build image with dev-setup.sh @@ -76,7 +76,7 @@ jobs: container: image: libra/build_environment:github-1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} - name: shell lints @@ -101,7 +101,7 @@ jobs: container: image: libra/build_environment:github-1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -129,7 +129,7 @@ jobs: set x cat /proc/meminfo cat /proc/cpuinfo - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 #get all the history!!! @@ -148,7 +148,7 @@ jobs: container: image: libra/build_environment:github-1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -164,7 +164,7 @@ jobs: container: image: libra/build_environment:github-1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -184,7 +184,7 @@ jobs: container: image: libra/build_environment:github-1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup @@ -200,7 +200,7 @@ jobs: container: image: libra/build_environment:github-1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ./.github/actions/build-setup diff --git a/.github/workflows/dep-summaries.yml b/.github/workflows/dep-summaries.yml index 9d78398b6137..c3b40ecda7b4 100644 --- a/.github/workflows/dep-summaries.yml +++ b/.github/workflows/dep-summaries.yml @@ -25,7 +25,7 @@ jobs: dep-auditors-list: ${{ steps.dep-auditors.outputs.list }} steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 if: ${{ startsWith(github.event_name, 'pull_request') }} with: ref: ${{ github.event.pull_request.head.sha }} @@ -36,18 +36,18 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} - name: checkout base ref - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 if: ${{ startsWith(github.event_name, 'pull_request') }} with: ref: ${{ steps.fetch-base-ref.outputs.ref }} path: libra-base - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 if: ${{ github.event_name == 'push' }} with: ref: ${{ github.event.after }} - name: checkout base ref - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 if: ${{ github.event_name == 'push' }} with: ref: ${{ github.event.before }} diff --git a/.github/workflows/developer-site-ci.yml b/.github/workflows/developer-site-ci.yml index 5402763a897b..2aacc223a54e 100644 --- a/.github/workflows/developer-site-ci.yml +++ b/.github/workflows/developer-site-ci.yml @@ -19,7 +19,7 @@ jobs: steps: # Checks-out the Diem website repository under $GITHUB_WORKSPACE, so job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.1.0 # Installs node and yarn - name: Use Node.js 12 uses: actions/setup-node@v2.1.4 diff --git a/.github/workflows/hyperjump-comment.yml b/.github/workflows/hyperjump-comment.yml index 67ba2fdbc893..e74f214e0e2d 100644 --- a/.github/workflows/hyperjump-comment.yml +++ b/.github/workflows/hyperjump-comment.yml @@ -10,7 +10,7 @@ jobs: name: (hyperjump) comment steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: comment uses: libra/actions/hyperjump-comment@a9c5709 with: diff --git a/.github/workflows/hyperjump-labels.yml b/.github/workflows/hyperjump-labels.yml index d4e30d2bcefc..152f0c2f9ac5 100644 --- a/.github/workflows/hyperjump-labels.yml +++ b/.github/workflows/hyperjump-labels.yml @@ -10,7 +10,7 @@ jobs: name: (hyperjump) labels steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: labels uses: libra/actions/hyperjump-labels@a9c5709 with: diff --git a/.github/workflows/hyperjump-request-review.yml b/.github/workflows/hyperjump-request-review.yml index 3fa88d2843d7..8c427fa80b25 100644 --- a/.github/workflows/hyperjump-request-review.yml +++ b/.github/workflows/hyperjump-request-review.yml @@ -10,7 +10,7 @@ jobs: name: (hyperjump) request-review steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: request review uses: libra/actions/hyperjump-request-review@a9c5709 with: diff --git a/.github/workflows/jsonrpc-compat.yml b/.github/workflows/jsonrpc-compat.yml index b74829b1dbc4..758e5a9815de 100644 --- a/.github/workflows/jsonrpc-compat.yml +++ b/.github/workflows/jsonrpc-compat.yml @@ -11,7 +11,7 @@ jobs: name: Warn PR author about compatibility requirements steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.head.sha }} - name: comment diff --git a/.github/workflows/land-blocking.yml b/.github/workflows/land-blocking.yml index c09e2ecf203a..7a3720acb9ea 100644 --- a/.github/workflows/land-blocking.yml +++ b/.github/workflows/land-blocking.yml @@ -15,7 +15,7 @@ jobs: # The additional time can cover the retries and wait. timeout-minutes: 60 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3.1.0 - name: Get PR number id: pr-num uses: actions/github-script@v3 diff --git a/.github/workflows/post-land.yml b/.github/workflows/post-land.yml index 7232bd78e4c5..001a1e8de4cd 100644 --- a/.github/workflows/post-land.yml +++ b/.github/workflows/post-land.yml @@ -13,7 +13,7 @@ jobs: # The pre-release suite run time varies 1~1.5 hr. timeout-minutes: 120 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3.1.0 - name: set_env id: set_env run: |