From 2c5dfd924077123447286a53a7e8689264044fe6 Mon Sep 17 00:00:00 2001 From: Yang Chen Date: Sun, 15 Dec 2019 17:05:45 +1100 Subject: [PATCH] Update checkout action to v2. --- .github/workflows/workflow.yml | 4 +--- README.md | 8 ++------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 914fdd39..d9899ba0 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -16,9 +16,7 @@ jobs: api-level: [21, 23, 29] steps: - name: checkout - uses: actions/checkout@v1 - with: - fetch-depth: 1 + uses: actions/checkout@v2 - name: build, test and lint run: | diff --git a/README.md b/README.md index 0b78c408..17c75b77 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,7 @@ jobs: runs-on: macOS-latest steps: - name: checkout - uses: actions/checkout@v1 - with: - fetch-depth: 1 + uses: actions/checkout@v2 - name: run tests uses: reactivecircus/android-emulator-runner@v2 @@ -55,9 +53,7 @@ jobs: target: [default, google_apis] steps: - name: checkout - uses: actions/checkout@v1 - with: - fetch-depth: 1 + uses: actions/checkout@v2 - name: run tests uses: reactivecircus/android-emulator-runner@v2