Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/checkout from 2 to 3.1.0 #334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-publish-base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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.
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,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"
Expand Down Expand Up @@ -70,7 +70,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 }}
- uses: ./.github/actions/check-machine
Expand All @@ -87,7 +87,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/check-machine
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
volumes:
- "/home/runner/work/diem/diem:/opt/git/diem"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/check-machine
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
volumes:
- "/home/runner/work/diem/diem:/opt/git/diem"
steps:
- 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!!!
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
FLAKY_TESTS_FILE: /tmp/failures
MESSAGE_PAYLOAD_FILE: /tmp/message
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
volumes:
- "/home/runner/work/diem/diem:/opt/git/diem"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/check-machine
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
volumes:
- "/home/runner/work/diem/diem:/opt/git/diem"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/build-setup
Expand All @@ -308,7 +308,7 @@ jobs:
volumes:
- "/home/runner/work/diem/diem:/opt/git/diem"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/build-setup
Expand All @@ -335,7 +335,7 @@ jobs:
env:
CRITERION_HOME: /tmp/benches
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
env:
MESSAGE_PAYLOAD_FILE: /tmp/message
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
ref: ${{ matrix.target-branch }}
- uses: ./.github/actions/build-setup
Expand All @@ -45,7 +45,7 @@ jobs:
CODECOV_OUTPUT: codecov
MESSAGE_PAYLOAD_FILE: /tmp/message
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
- uses: ./.github/actions/build-setup
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dep-summaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,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 }}
Expand All @@ -37,18 +37,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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/developer-site-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
TAG: github-1
DOCKERHUB_ORG: libra
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
fetch-depth: 0 #get all the history!!!
- id: changes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hyperjump-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: (hyperjump) comment
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.1.0
- name: comment
uses: diem/actions/hyperjump-comment@faa14430e68d54a269628f385e69a207e4e413d5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hyperjump-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: (hyperjump) labels
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.1.0
- name: labels
uses: diem/actions/hyperjump-labels@faa14430e68d54a269628f385e69a207e4e413d5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hyperjump-request-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: diem/actions/hyperjump-request-review@faa14430e68d54a269628f385e69a207e4e413d5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jsonrpc-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/land-blocking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-land.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3.1.0

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
Expand Down